{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/desinils/Desirée's PCR team Dropbox/Desirée Nilsson/2012-2014/Forskningsprojekt/Jihadist Peace/Negotiation and religion/Islamist Claims & Recurrence/Submission-ISQ/Resubmission-ISQ/Intractability_final_submitted/Replication files-Intractability-ISQ/Intractability-replication-zip-files/Termination-log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}22 Jun 2021, 10:45:49

{com}. do "/Users/desinils/Desirée's PCR team Dropbox/Desirée Nilsson/2012-2014/Forskningsprojekt/Jihadist Peace/Negotiation and religion/Islamist Claims & Recurrence/Submission-ISQ/Resubmission-ISQ/Intractability_final_submitted/Replication files-Intractability-ISQ/Intractability-replication-zip-files/Termination-analysis-ISQ.do"
{txt}
{com}. clear all
{res}{txt}
{com}. 
. /****************************************************************************************************
>                 
> Replication file 1 out of 3 for:
> "The Intractability of Islamist Insurgencies: Islamist Rebels and the Recurrence of Civil War"
> Desirée Nilsson & Isak Svensson
> International Studies Quarterly
> Last updated: 20 April 2021
> Note that dyadep 18502 has been replaced with 28502 due to an error in original termination data
> 
> ***************************************************************************************************/
. 
. 
. *To run the do-file you need to install the following:
. 
. *1. To generate summary statistics:
. //ssc install unique, replace all
. 
. *2. To generate graphs:
. //ssc install blindschemes, replace all
. //set scheme plottig, permanently
. 
. *3. To generate tables: 
. //ssc install outreg
. //ssc install outreg2
. 
. ****************************************************************************************************
. 
. use "Termination-data-ISQ.dta"
{txt}
{com}. sort dyadid year
{txt}
{com}. 
. ************************************************
. * STSET FOR SURVIVAL ANALYSIS
. ************************************************
. 
. stset end_of_segment, id(dyadid) origin(time first_year_of_con) enter(time start_of_segment) failure(term==1) exit(time .)

                {txt}id:  {res}dyadid
     {txt}failure event:  {res}term == 1
{txt}obs. time interval:  {res}(end_of_segment[_n-1], end_of_segment]
{txt} enter on or after:  {res}time start_of_segment
{txt} exit on or before:  {res}time .
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time first_year_of_con

{txt}{hline 78}
{res}      1,923{txt}  total observations
{res}          0{txt}  exclusions
{hline 78}
{res}      1,923{txt}  observations remaining, representing
{res}        386{txt}  subjects
{res}        519{txt}  failures in multiple-failure-per-subject data
{res}  2,393.136{txt}  total analysis time at risk and under observation
                                                at risk from t = {res}        0
                                     {txt}earliest observed entry t = {res}        0
                                          {txt}last observed exit t = {res} 38.98999
{txt}
{com}. 
. 
. ************************************************
. * DESCRIPTIVE STATISTICS
. ************************************************
. 
. 
. *Islamist conflicts and termination
. unique dyadid if islamist==1 | islamist==0 
{txt}Number of unique values of dyadid is  {res}386
{txt}Number of records is  {res}1923
{txt}
{com}. *386
. unique dyadid if islamist==1 
{txt}Number of unique values of dyadid is  {res}64
{txt}Number of records is  {res}398
{txt}
{com}. *64
. unique dyadid if islamist==0
{txt}Number of unique values of dyadid is  {res}322
{txt}Number of records is  {res}1525
{txt}
{com}. *322
. unique dyadid if term==1 
{txt}Number of unique values of dyadid is  {res}367
{txt}Number of records is  {res}519
{txt}
{com}. *367
. 
. 
. *Islamist conflicts and foreign fighters*
. unique dyadid if foreignfighter==1 & islamist==1 
{txt}Number of unique values of dyadid is  {res}30
{txt}Number of records is  {res}205
{txt}
{com}. *30 out of 64, 47%
. unique dyadid if islamist==1
{txt}Number of unique values of dyadid is  {res}64
{txt}Number of records is  {res}398
{txt}
{com}. 
. unique dyadid if foreignfighter==1 & islamist==0
{txt}Number of unique values of dyadid is  {res}54
{txt}Number of records is  {res}315
{txt}
{com}. *54 out of 322, 17%
. unique dyadid if islamist==0
{txt}Number of unique values of dyadid is  {res}322
{txt}Number of records is  {res}1525
{txt}
{com}. 
. 
. *Islamist conflicts and govmilsupport*
. unique dyadid if govmilsupport==1 & islamist==1 
{txt}Number of unique values of dyadid is  {res}28
{txt}Number of records is  {res}138
{txt}
{com}. * 28 out of 64, 44%
. unique dyadid if islamist==1
{txt}Number of unique values of dyadid is  {res}64
{txt}Number of records is  {res}398
{txt}
{com}. 
. unique dyadid if govmilsupport==1 & islamist==0 
{txt}Number of unique values of dyadid is  {res}48
{txt}Number of records is  {res}156
{txt}
{com}. * 48 out of 322, 15%
. unique dyadid if islamist==0
{txt}Number of unique values of dyadid is  {res}322
{txt}Number of records is  {res}1525
{txt}
{com}. 
. 
. *Leftist*
. unique dyadid if leftist==1 //61
{txt}Number of unique values of dyadid is  {res}61
{txt}Number of records is  {res}544
{txt}
{com}. unique dyadid if leftist==0 //321
{txt}Number of unique values of dyadid is  {res}321
{txt}Number of records is  {res}1368
{txt}
{com}. 
. 
. *Leftist and foreign fighters*
. unique dyadid if foreignfighter==1 & leftist==1 
{txt}Number of unique values of dyadid is  {res}11
{txt}Number of records is  {res}152
{txt}
{com}. *11 out of 61, 18%
. unique dyadid if leftist==1
{txt}Number of unique values of dyadid is  {res}61
{txt}Number of records is  {res}544
{txt}
{com}. 
. unique dyadid if foreignfighter==1 & leftist==0 
{txt}Number of unique values of dyadid is  {res}72
{txt}Number of records is  {res}367
{txt}
{com}. *72 out of 321, 22%
. unique dyadid if leftist==0
{txt}Number of unique values of dyadid is  {res}321
{txt}Number of records is  {res}1368
{txt}
{com}. 
. 
. *Leftist and govmilsupport*
. unique dyadid if govmilsupport==1 & leftist==1 
{txt}Number of unique values of dyadid is  {res}8
{txt}Number of records is  {res}46
{txt}
{com}. * 8 out of 61, 13%
. unique dyadid if leftist==1 //
{txt}Number of unique values of dyadid is  {res}61
{txt}Number of records is  {res}544
{txt}
{com}. 
. unique dyadid if govmilsupport==1 & leftist==0 
{txt}Number of unique values of dyadid is  {res}69
{txt}Number of records is  {res}248
{txt}
{com}. *69 out of 321, 21,5%
. unique dyadid if leftist==0
{txt}Number of unique values of dyadid is  {res}321
{txt}Number of records is  {res}1368
{txt}
{com}. 
. 
. ************************************************
. * CREATE LABELS
. ************************************************
. 
. label variable term "Termination"
{txt}
{com}. label variable islamist "Islamist claim"
{txt}
{com}. label variable territory "Territory"
{txt}
{com}. label variable duration "Duration"
{txt}
{com}. label variable intensitylevel "War"
{txt}
{com}. label variable number_group "Number of groups"
{txt}
{com}. label variable strongstart "Strong rebels"
{txt}
{com}. label variable anostart "Anocracy"
{txt}
{com}. label variable lngdppcstart "GDP per capita"
{txt}
{com}. label variable lnpopstart "Population"
{txt}
{com}. label variable muslimajstart "Muslim majority"
{txt}
{com}. label variable oilstart "Oil"
{txt}
{com}. label variable youthstartap "Youth bulge/adult pop."
{txt}
{com}. label variable anocracy "Anocracy over time"
{txt}
{com}. label variable lngdppc "GDP per capita over time"
{txt}
{com}. label variable lnpop "Population over time"
{txt}
{com}. label variable foreignfighter "Foreign fighters"
{txt}
{com}. label variable govmilsupport "Government support"
{txt}
{com}. label variable leftist "Leftist"
{txt}
{com}. label variable nonislamistrel "Non-Islamist religious claims"
{txt}
{com}. label variable muslimid "Muslim identity"
{txt}
{com}. label variable secsup_govgov "Government secondary support"
{txt}
{com}. label variable rebextpartdummy "Rebel support"
{txt}
{com}. 
. 
. ************************************************
. * CONTROL VARIABELS
. ************************************************
. 
. global X1 territory strongstart oilstart youthstartap muslimajstart
{txt}
{com}. global X2 _yrs _yrs_sq _yrs_cu
{txt}
{com}. 
. 
. ************************************************
. * TABLE A1
. ************************************************
. 
. *Summary statistics*
. su islamist territory strongstart oilstart youthstartap muslimajstart lngdppcstart anostart lnpopstart foreignfighter duration intensitylevel leftist term muslimid nonislamistrel anocracy lngdppc lnpop govmilsupport number_group secsup_govgov rebextpartdummy

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}islamist {c |}{res}      1,923    .2069683     .405238          0          1
{txt}{space 3}territory {c |}{res}      1,923    .4321373    .4955021          0          1
{txt}{space 1}strongstart {c |}{res}      1,830    .0721311    .2587757          0          1
{txt}{space 4}oilstart {c |}{res}      1,853    10.83837    9.993383          0   25.31365
{txt}youthstartap {c |}{res}      1,755    32.53959    4.037659   15.64565    39.4916
{txt}{hline 13}{c +}{hline 57}
muslimajst~t {c |}{res}      1,923    .3359334    .4724386          0          1
{txt}lngdppcstart {c |}{res}      1,561     6.58538    1.317979   4.265055   10.62235
{txt}{space 4}anostart {c |}{res}      1,731    .3564414    .4790861          0          1
{txt}{space 2}lnpopstart {c |}{res}      1,816     16.9939    1.477058   12.81063   20.99929
{txt}foreignfig~r {c |}{res}      1,923    .2704108    .4442876          0          1
{txt}{hline 13}{c +}{hline 57}
{space 4}duration {c |}{res}      1,923    4.955278    6.622737          0         40
{txt}intensityl~l {c |}{res}      1,923    1.199688    .3998698          1          2
{txt}{space 5}leftist {c |}{res}      1,912    .2845188     .451303          0          1
{txt}{space 8}term {c |}{res}      1,923    .2698908    .4440183          0          1
{txt}{space 4}muslimid {c |}{res}      1,923    .4945398    .5001002          0          1
{txt}{hline 13}{c +}{hline 57}
nonislamis~l {c |}{res}      1,923    .0920437    .2891628          0          1
{txt}{space 4}anocracy {c |}{res}      1,820    .3456044    .4756956          0          1
{txt}{space 5}lngdppc {c |}{res}      1,887     6.66904    1.362328   4.255866   10.72365
{txt}{space 7}lnpop {c |}{res}      1,887    17.14472    1.483506   12.81063   20.99929
{txt}govmilsupp~t {c |}{res}      1,923    .1528861    .3599713          0          1
{txt}{hline 13}{c +}{hline 57}
number_group {c |}{res}      1,923     1.76131    1.299852          1          8
{txt}secsup_gov~v {c |}{res}      1,787    .0844992    .2782128          0          1
{txt}rebextpart~y {c |}{res}      1,731    .1686886    .3745849          0          1
{txt}
{com}. //keep term islamist territory strongstart oilstart youthstartap muslimajstart lngdppcstart anostart lnpopstart foreignfighter duration intensitylevel leftist term muslimid nonislamistrel anocracy lngdppc lnpop govmilsupport number_group secsup_govgov rebextpartdummy
. //outreg2 using appendix-A1.doc, replace sum(log) keep (term islamist territory strongstart oilstart youthstartap muslimajstart lngdppcstart anostart lnpopstart foreignfighter duration intensitylevel leftist muslimid nonislamistrel anocracy lngdppc lnpop govmilsupport number_group secsup_govgov rebextpartdummy)
. //reload data after this line
. 
. ************************************************
. * TABLE 1
. ************************************************
. 
. *Model 1*     
. stcox islamist $X1, cluster(dyadid) strata(order)  nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}     11.34
{txt}Log pseudolikelihood =   {res}-1814.5599             {txt}Prob > chi2      =  {res}    0.0783

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .7055442{col 27}{space 2} .0951759{col 38}{space 1}   -2.59{col 47}{space 3}0.010{col 55}{space 4} .5416261{col 68}{space 3} .9190706
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .9617325{col 27}{space 2} .1099845{col 38}{space 1}   -0.34{col 47}{space 3}0.733{col 55}{space 4} .7686173{col 68}{space 3} 1.203368
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.125558{col 27}{space 2} .1531191{col 38}{space 1}    0.87{col 47}{space 3}0.385{col 55}{space 4} .8621278{col 68}{space 3} 1.469481
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.003349{col 27}{space 2} .0042407{col 38}{space 1}    0.79{col 47}{space 3}0.429{col 55}{space 4} .9950717{col 68}{space 3} 1.011695
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.016061{col 27}{space 2} .0123997{col 38}{space 1}    1.31{col 47}{space 3}0.192{col 55}{space 4} .9920467{col 68}{space 3} 1.040657
{txt}muslimajstart {c |}{col 15}{res}{space 2} 1.074298{col 27}{space 2}  .109897{col 38}{space 1}    0.70{col 47}{space 3}0.484{col 55}{space 4} .8791233{col 68}{space 3} 1.312803
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using termination-t1.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.706}}
{center:{txt}{lalign 24:}{res}{center 32:(0.095)**}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.962}}
{center:{txt}{lalign 24:}{res}{center 32:(0.110)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.126}}
{center:{txt}{lalign 24:}{res}{center 32:(0.153)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.003}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.016}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.074}}
{center:{txt}{lalign 24:}{res}{center 32:(0.110)}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1814.5858
{txt}Iteration 2:   log pseudolikelihood = {res}-1814.5599
{txt}Iteration 3:   log pseudolikelihood = {res}-1814.5599
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1814.5599

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}     11.34
{txt}Log pseudolikelihood =   {res}-1814.5599             {txt}Prob > chi2      =  {res}    0.0783

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2}-.3487859{col 27}{space 2} .1348971{col 38}{space 1}   -2.59{col 47}{space 3}0.010{col 55}{space 4}-.6131794{col 68}{space 3}-.0843924
{txt}{space 4}territory {c |}{col 15}{res}{space 2} -.039019{col 27}{space 2} .1143608{col 38}{space 1}   -0.34{col 47}{space 3}0.733{col 55}{space 4}-.2631621{col 68}{space 3} .1851241
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .1182787{col 27}{space 2} .1360384{col 38}{space 1}    0.87{col 47}{space 3}0.385{col 55}{space 4}-.1483518{col 68}{space 3} .3849091
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0033434{col 27}{space 2} .0042265{col 38}{space 1}    0.79{col 47}{space 3}0.429{col 55}{space 4}-.0049405{col 68}{space 3} .0116272
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0159336{col 27}{space 2} .0122037{col 38}{space 1}    1.31{col 47}{space 3}0.192{col 55}{space 4}-.0079851{col 68}{space 3} .0398524
{txt}muslimajstart {c |}{col 15}{res}{space 2} .0716674{col 27}{space 2} .1022965{col 38}{space 1}    0.70{col 47}{space 3}0.484{col 55}{space 4}-.1288302{col 68}{space 3} .2721649
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.04810{col 37}     0.96{col 50}    1{col 64}0.3278
{txt}      territory{col 19}{c |}{res}{col 25}-0.00994{col 37}     0.04{col 50}    1{col 64}0.8476
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.03767{col 37}     0.40{col 50}    1{col 64}0.5292
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.04688{col 37}     0.60{col 50}    1{col 64}0.4393
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.03449{col 37}     0.41{col 50}    1{col 64}0.5198
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.01427{col 37}     0.08{col 50}    1{col 64}0.7772
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     3.89{col 50}    6{col 64}0.6914
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. ************************************************
. * FIGURE 1
. ************************************************
. 
. *Kaplan meier graph with confidence intervals, strata not possible
. sts graph, legend (cols(1)) by(islamist) ci 

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid
{txt}
{com}. *minor adjustments made manually, e.g.  set background region to grayscale 15, set labels*
. 
. 
. ************************************************
. * TABLE 2
. ************************************************
. 
. *Model 1*
. stcox islamist $X1 foreignfighter govmilsupport, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     21.87
{txt}Log pseudolikelihood =   {res}-1809.9134             {txt}Prob > chi2      =  {res}    0.0052

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |} Haz. Ratio{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2}  .834758{col 28}{space 2} .1114119{col 39}{space 1}   -1.35{col 48}{space 3}0.176{col 56}{space 4} .6426197{col 69}{space 3} 1.084344
{txt}{space 5}territory {c |}{col 16}{res}{space 2} .8504494{col 28}{space 2} .0988621{col 39}{space 1}   -1.39{col 48}{space 3}0.163{col 56}{space 4} .6771718{col 69}{space 3} 1.068066
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} 1.182317{col 28}{space 2} .1686339{col 39}{space 1}    1.17{col 48}{space 3}0.240{col 56}{space 4}  .893978{col 69}{space 3} 1.563654
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2}  1.00035{col 28}{space 2}  .004364{col 39}{space 1}    0.08{col 48}{space 3}0.936{col 56}{space 4} .9918336{col 69}{space 3}  1.00894
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} 1.014797{col 28}{space 2} .0122578{col 39}{space 1}    1.22{col 48}{space 3}0.224{col 56}{space 4} .9910539{col 69}{space 3} 1.039108
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} 1.133752{col 28}{space 2} .1177762{col 39}{space 1}    1.21{col 48}{space 3}0.227{col 56}{space 4} .9248981{col 69}{space 3} 1.389769
{txt}foreignfighter {c |}{col 16}{res}{space 2}  .746836{col 28}{space 2} .0848706{col 39}{space 1}   -2.57{col 48}{space 3}0.010{col 56}{space 4} .5977155{col 69}{space 3} .9331597
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2} .6616679{col 28}{space 2} .1005202{col 39}{space 1}   -2.72{col 48}{space 3}0.007{col 56}{space 4} .4912765{col 69}{space 3} .8911567
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using termination-t2.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.835}}
{center:{txt}{lalign 24:}{res}{center 32:(0.111)}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.850}}
{center:{txt}{lalign 24:}{res}{center 32:(0.099)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.182}}
{center:{txt}{lalign 24:}{res}{center 32:(0.169)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.000}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.015}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.134}}
{center:{txt}{lalign 24:}{res}{center 32:(0.118)}}
{center:{txt}{lalign 24:Foreign fighters}{res}{center 32:0.747}}
{center:{txt}{lalign 24:}{res}{center 32:(0.085)*}}
{center:{txt}{lalign 24:Government support}{res}{center 32:0.662}}
{center:{txt}{lalign 24:}{res}{center 32:(0.101)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 foreignfighter govmilsupport, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1809.9648
{txt}Iteration 2:   log pseudolikelihood = {res}-1809.9134
{txt}Iteration 3:   log pseudolikelihood = {res}-1809.9134
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1809.9134

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     21.87
{txt}Log pseudolikelihood =   {res}-1809.9134             {txt}Prob > chi2      =  {res}    0.0052

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2}-.1806135{col 28}{space 2} .1334661{col 39}{space 1}   -1.35{col 48}{space 3}0.176{col 56}{space 4}-.4422021{col 69}{space 3} .0809752
{txt}{space 5}territory {c |}{col 16}{res}{space 2}-.1619904{col 28}{space 2} .1162469{col 39}{space 1}   -1.39{col 48}{space 3}0.163{col 56}{space 4}-.3898302{col 69}{space 3} .0658494
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} .1674757{col 28}{space 2} .1426301{col 39}{space 1}    1.17{col 48}{space 3}0.240{col 56}{space 4}-.1120741{col 69}{space 3} .4470255
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} .0003504{col 28}{space 2} .0043625{col 39}{space 1}    0.08{col 48}{space 3}0.936{col 56}{space 4}-.0081999{col 69}{space 3} .0089007
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} .0146883{col 28}{space 2} .0120791{col 39}{space 1}    1.22{col 48}{space 3}0.224{col 56}{space 4}-.0089863{col 69}{space 3}  .038363
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} .1255328{col 28}{space 2} .1038818{col 39}{space 1}    1.21{col 48}{space 3}0.227{col 56}{space 4}-.0780717{col 69}{space 3} .3291373
{txt}foreignfighter {c |}{col 16}{res}{space 2}-.2919097{col 28}{space 2} .1136402{col 39}{space 1}   -2.57{col 48}{space 3}0.010{col 56}{space 4}-.5146405{col 69}{space 3} -.069179
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2}-.4129916{col 28}{space 2} .1519194{col 39}{space 1}   -2.72{col 48}{space 3}0.007{col 56}{space 4}-.7107482{col 69}{space 3} -.115235
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.04380{col 37}     0.74{col 50}    1{col 64}0.3913
{txt}      territory{col 19}{c |}{res}{col 25}-0.01084{col 37}     0.04{col 50}    1{col 64}0.8362
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04279{col 37}     0.57{col 50}    1{col 64}0.4488
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.04814{col 37}     0.68{col 50}    1{col 64}0.4095
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.02729{col 37}     0.25{col 50}    1{col 64}0.6176
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.02211{col 37}     0.19{col 50}    1{col 64}0.6605
{txt}      foreignfig~r{col 19}{c |}{res}{col 25} 0.01860{col 37}     0.11{col 50}    1{col 64}0.7448
{txt}      govmilsupp~t{col 19}{c |}{res}{col 25}-0.00771{col 37}     0.02{col 50}    1{col 64}0.8856
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     4.47{col 50}    8{col 64}0.8123
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. ************************************************
. * TABLE 3
. ************************************************
. 
. *Model 1*
. stcox leftist $X1 govmilsupport foreignfighter, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     40.83
{txt}Log pseudolikelihood =   {res}-1803.5009             {txt}Prob > chi2      =  {res}    0.0000

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |} Haz. Ratio{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}leftist {c |}{col 16}{res}{space 2} .5982067{col 28}{space 2} .0704492{col 39}{space 1}   -4.36{col 48}{space 3}0.000{col 56}{space 4} .4749058{col 69}{space 3} .7535205
{txt}{space 5}territory {c |}{col 16}{res}{space 2} .7375976{col 28}{space 2} .0861563{col 39}{space 1}   -2.61{col 48}{space 3}0.009{col 56}{space 4} .5866696{col 69}{space 3} .9273538
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} 1.085027{col 28}{space 2} .1680383{col 39}{space 1}    0.53{col 48}{space 3}0.598{col 56}{space 4} .8009671{col 69}{space 3} 1.469827
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} 1.001959{col 28}{space 2} .0040273{col 39}{space 1}    0.49{col 48}{space 3}0.626{col 56}{space 4}  .994097{col 69}{space 3} 1.009884
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} 1.014788{col 28}{space 2} .0130043{col 39}{space 1}    1.15{col 48}{space 3}0.252{col 56}{space 4} .9896175{col 69}{space 3} 1.040599
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} 1.015428{col 28}{space 2} .1023842{col 39}{space 1}    0.15{col 48}{space 3}0.879{col 56}{space 4} .8333429{col 69}{space 3} 1.237299
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2} .5831273{col 28}{space 2} .0858111{col 39}{space 1}   -3.67{col 48}{space 3}0.000{col 56}{space 4} .4370221{col 69}{space 3} .7780783
{txt}foreignfighter {c |}{col 16}{res}{space 2} .6874913{col 28}{space 2} .0809657{col 39}{space 1}   -3.18{col 48}{space 3}0.001{col 56}{space 4} .5457847{col 69}{space 3} .8659903
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using termination-t3.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Leftist}{res}{center 32:0.598}}
{center:{txt}{lalign 24:}{res}{center 32:(0.070)**}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.738}}
{center:{txt}{lalign 24:}{res}{center 32:(0.086)**}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.085}}
{center:{txt}{lalign 24:}{res}{center 32:(0.168)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.002}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.015}}
{center:{txt}{lalign 24:}{res}{center 32:(0.013)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.015}}
{center:{txt}{lalign 24:}{res}{center 32:(0.102)}}
{center:{txt}{lalign 24:Government support}{res}{center 32:0.583}}
{center:{txt}{lalign 24:}{res}{center 32:(0.086)**}}
{center:{txt}{lalign 24:Foreign fighters}{res}{center 32:0.687}}
{center:{txt}{lalign 24:}{res}{center 32:(0.081)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox leftist $X1 govmilsupport foreignfighter, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1803.5815
{txt}Iteration 2:   log pseudolikelihood = {res}-1803.5009
{txt}Iteration 3:   log pseudolikelihood = {res}-1803.5009
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1803.5009

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     40.83
{txt}Log pseudolikelihood =   {res}-1803.5009             {txt}Prob > chi2      =  {res}    0.0000

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}leftist {c |}{col 16}{res}{space 2}-.5138189{col 28}{space 2} .1177674{col 39}{space 1}   -4.36{col 48}{space 3}0.000{col 56}{space 4}-.7446388{col 69}{space 3} -.282999
{txt}{space 5}territory {c |}{col 16}{res}{space 2}-.3043569{col 28}{space 2} .1168066{col 39}{space 1}   -2.61{col 48}{space 3}0.009{col 56}{space 4}-.5332936{col 69}{space 3}-.0754202
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} .0816046{col 28}{space 2} .1548702{col 39}{space 1}    0.53{col 48}{space 3}0.598{col 56}{space 4}-.2219354{col 69}{space 3} .3851445
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} .0019575{col 28}{space 2} .0040195{col 39}{space 1}    0.49{col 48}{space 3}0.626{col 56}{space 4}-.0059205{col 69}{space 3} .0098355
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} .0146797{col 28}{space 2} .0128148{col 39}{space 1}    1.15{col 48}{space 3}0.252{col 56}{space 4}-.0104367{col 69}{space 3} .0397962
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} .0153103{col 28}{space 2} .1008286{col 39}{space 1}    0.15{col 48}{space 3}0.879{col 56}{space 4}-.1823101{col 69}{space 3} .2129306
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2}-.5393498{col 28}{space 2} .1471566{col 39}{space 1}   -3.67{col 48}{space 3}0.000{col 56}{space 4}-.8277716{col 69}{space 3}-.2509281
{txt}foreignfighter {c |}{col 16}{res}{space 2}-.3747062{col 28}{space 2} .1177698{col 39}{space 1}   -3.18{col 48}{space 3}0.001{col 56}{space 4}-.6055308{col 69}{space 3}-.1438815
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      leftist{col 19}{c |}{res}{col 25} 0.03392{col 37}     0.39{col 50}    1{col 64}0.5348
{txt}      territory{col 19}{c |}{res}{col 25}-0.02025{col 37}     0.15{col 50}    1{col 64}0.6990
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04968{col 37}     0.95{col 50}    1{col 64}0.3308
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.04324{col 37}     0.46{col 50}    1{col 64}0.4984
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.03725{col 37}     0.52{col 50}    1{col 64}0.4717
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.05081{col 37}     0.97{col 50}    1{col 64}0.3256
{txt}      govmilsupp~t{col 19}{c |}{res}{col 25}-0.00177{col 37}     0.00{col 50}    1{col 64}0.9742
{txt}      foreignfig~r{col 19}{c |}{res}{col 25} 0.01431{col 37}     0.07{col 50}    1{col 64}0.7865
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     5.14{col 50}    8{col 64}0.7423
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. ************************************************************************************************************************************************************************************
. 
. ****ROBUSTNESS****
. 
. ************************************************************************************************************************************************************************************
. 
. 
. ************************************************
. * TABLE A2
. ************************************************
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A3
. ************************************************
. 
. *alternative survival models*
. 
. *Model 1* weibull instead of cox, without strata
. streg islamist $X1, dist(weibull) cluster(dyadid) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Weibull PH regression

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}     18.00
{txt}Log pseudolikelihood =   {res}-534.81558             {txt}Prob > chi2      =  {res}    0.0062

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .6386113{col 27}{space 2} .0896092{col 38}{space 1}   -3.20{col 47}{space 3}0.001{col 55}{space 4} .4850616{col 68}{space 3} .8407681
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .8591459{col 27}{space 2} .1163668{col 38}{space 1}   -1.12{col 47}{space 3}0.262{col 55}{space 4} .6588342{col 68}{space 3}  1.12036
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.191427{col 27}{space 2} .2613266{col 38}{space 1}    0.80{col 47}{space 3}0.425{col 55}{space 4}  .775114{col 68}{space 3} 1.831341
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.002542{col 27}{space 2} .0053887{col 38}{space 1}    0.47{col 47}{space 3}0.637{col 55}{space 4}  .992036{col 68}{space 3}  1.01316
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.016729{col 27}{space 2} .0157398{col 38}{space 1}    1.07{col 47}{space 3}0.284{col 55}{space 4}  .986343{col 68}{space 3} 1.048051
{txt}muslimajstart {c |}{col 15}{res}{space 2} 1.171828{col 27}{space 2} .1409388{col 38}{space 1}    1.32{col 47}{space 3}0.187{col 55}{space 4} .9257372{col 68}{space 3} 1.483338
{txt}{space 8}_cons {c |}{col 15}{res}{space 2} .1522651{col 27}{space 2} .0823894{col 38}{space 1}   -3.48{col 47}{space 3}0.001{col 55}{space 4} .0527256{col 68}{space 3} .4397224
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}/ln_p {c |}{col 15}{res}{space 2} -.071308{col 27}{space 2} .0313623{col 38}{space 1}   -2.27{col 47}{space 3}0.023{col 55}{space 4} -.132777{col 68}{space 3} -.009839
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            p {c |}{col 15}{res}{space 2}  .931175{col 27}{space 2} .0292038{col 55}{space 4} .8756603{col 68}{space 3} .9902092
{txt}          1/p {c |}{col 15}{res}{space 2} 1.073912{col 27}{space 2} .0336804{col 55}{space 4} 1.009888{col 68}{space 3} 1.141995
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {help eform_option:Estimates are transformed} only in the first equation.{p_end}
{p 0 6 2}Note: {res:_cons} estimates baseline hazard{txt}.{p_end}

{com}. outreg using appendix-A3a.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 69}}
{center:{txt}{lalign 32:analysis time when record ends}{txt}{lalign 24:Islamist claim}{res}{center 11:0.639}}
{center:{txt}{lalign 32:}{txt}{lalign 24:}{res}{center 11:(0.090)**}}
{center:{txt}{lalign 32:}{txt}{lalign 24:Territory}{res}{center 11:0.859}}
{center:{txt}{lalign 32:}{txt}{lalign 24:}{res}{center 11:(0.116)}}
{center:{txt}{lalign 32:}{txt}{lalign 24:Strong rebels}{res}{center 11:1.191}}
{center:{txt}{lalign 32:}{txt}{lalign 24:}{res}{center 11:(0.261)}}
{center:{txt}{lalign 32:}{txt}{lalign 24:Oil}{res}{center 11:1.003}}
{center:{txt}{lalign 32:}{txt}{lalign 24:}{res}{center 11:(0.005)}}
{center:{txt}{lalign 32:}{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 11:1.017}}
{center:{txt}{lalign 32:}{txt}{lalign 24:}{res}{center 11:(0.016)}}
{center:{txt}{lalign 32:}{txt}{lalign 24:Muslim majority}{res}{center 11:1.172}}
{center:{txt}{lalign 32:}{txt}{lalign 24:}{res}{center 11:(0.141)}}
{center:{txt}{lalign 32:/}{txt}{lalign 24:ln_p}{res}{center 11:0.931}}
{center:{txt}{lalign 32:}{txt}{lalign 24:}{res}{center 11:(0.029)*}}
{center:{txt}{lalign 32:N}{txt}{lalign 24:}{res}{center 11:1,657}}
{txt}{center:{hline 69}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. *streg islamist $X1, dist(weibull) cluster(dyadid) strata(order) nolog
. 
. *Model 2* exponential instead of cox, without strata
. streg islamist $X1, dist(exponential) cluster(dyadid) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Exponential PH regression

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}     20.31
{txt}Log pseudolikelihood =   {res} -536.8951             {txt}Prob > chi2      =  {res}    0.0024

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .6263861{col 27}{space 2} .0903368{col 38}{space 1}   -3.24{col 47}{space 3}0.001{col 55}{space 4}  .472153{col 68}{space 3}  .831001
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .8307614{col 27}{space 2} .1166222{col 38}{space 1}   -1.32{col 47}{space 3}0.187{col 55}{space 4} .6309352{col 68}{space 3} 1.093876
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.209341{col 27}{space 2} .2952735{col 38}{space 1}    0.78{col 47}{space 3}0.436{col 55}{space 4} .7494087{col 68}{space 3} 1.951545
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.002249{col 27}{space 2} .0058668{col 38}{space 1}    0.38{col 47}{space 3}0.701{col 55}{space 4} .9908162{col 68}{space 3} 1.013814
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.016069{col 27}{space 2} .0167029{col 38}{space 1}    0.97{col 47}{space 3}0.332{col 55}{space 4} .9838538{col 68}{space 3} 1.049339
{txt}muslimajstart {c |}{col 15}{res}{space 2} 1.195114{col 27}{space 2} .1556188{col 38}{space 1}    1.37{col 47}{space 3}0.171{col 55}{space 4} .9259175{col 68}{space 3} 1.542576
{txt}{space 8}_cons {c |}{col 15}{res}{space 2} .1334224{col 27}{space 2}  .077639{col 38}{space 1}   -3.46{col 47}{space 3}0.001{col 55}{space 4} .0426493{col 68}{space 3} .4173939
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: {res:_cons} estimates baseline hazard{txt}.{p_end}

{com}. outreg using appendix-A3b.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.626}}
{center:{txt}{lalign 24:}{res}{center 32:(0.090)**}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.831}}
{center:{txt}{lalign 24:}{res}{center 32:(0.117)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.209}}
{center:{txt}{lalign 24:}{res}{center 32:(0.295)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.002}}
{center:{txt}{lalign 24:}{res}{center 32:(0.006)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.016}}
{center:{txt}{lalign 24:}{res}{center 32:(0.017)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.195}}
{center:{txt}{lalign 24:}{res}{center 32:(0.156)}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. streg islamist $X1, dist(exponential) cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Exponential PH regression

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
{col 49}{help j_robustsingular##|_new:Wald chi2(11)}{txt}{col 66}=  {res}         .
{txt}Log pseudolikelihood =   {res}-525.66031             {txt}Prob > chi2      =  {res}         .

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2}-.4446134{col 27}{space 2} .1596249{col 38}{space 1}   -2.79{col 47}{space 3}0.005{col 55}{space 4}-.7574724{col 68}{space 3}-.1317544
{txt}{space 4}territory {c |}{col 15}{res}{space 2}-.0932853{col 27}{space 2} .1543337{col 38}{space 1}   -0.60{col 47}{space 3}0.546{col 55}{space 4}-.3957738{col 68}{space 3} .2092032
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .2466841{col 27}{space 2}  .213776{col 38}{space 1}    1.15{col 47}{space 3}0.249{col 55}{space 4}-.1723091{col 68}{space 3} .6656773
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0036829{col 27}{space 2}  .006127{col 38}{space 1}    0.60{col 47}{space 3}0.548{col 55}{space 4}-.0083258{col 68}{space 3} .0156917
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0184494{col 27}{space 2} .0175039{col 38}{space 1}    1.05{col 47}{space 3}0.292{col 55}{space 4}-.0158576{col 68}{space 3} .0527564
{txt}muslimajstart {c |}{col 15}{res}{space 2} .1582242{col 27}{space 2} .1357486{col 38}{space 1}    1.17{col 47}{space 3}0.244{col 55}{space 4}-.1078381{col 68}{space 3} .4242865
{txt}{space 13} {c |}
{space 8}order {c |}
{space 11}2  {c |}{col 15}{res}{space 2}-.5259464{col 27}{space 2} .1317063{col 38}{space 1}   -3.99{col 47}{space 3}0.000{col 55}{space 4}-.7840859{col 68}{space 3}-.2678068
{txt}{space 11}3  {c |}{col 15}{res}{space 2} -.455844{col 27}{space 2} .1880615{col 38}{space 1}   -2.42{col 47}{space 3}0.015{col 55}{space 4}-.8244378{col 68}{space 3}-.0872501
{txt}{space 11}4  {c |}{col 15}{res}{space 2}-.1218642{col 27}{space 2} .1768014{col 38}{space 1}   -0.69{col 47}{space 3}0.491{col 55}{space 4}-.4683886{col 68}{space 3} .2246602
{txt}{space 11}5  {c |}{col 15}{res}{space 2}-.2876308{col 27}{space 2} .3624866{col 38}{space 1}   -0.79{col 47}{space 3}0.427{col 55}{space 4}-.9980915{col 68}{space 3} .4228299
{txt}{space 11}6  {c |}{col 15}{res}{space 2} .3091867{col 27}{space 2} .2675659{col 38}{space 1}    1.16{col 47}{space 3}0.248{col 55}{space 4}-.2152329{col 68}{space 3} .8336062
{txt}{space 11}7  {c |}{col 15}{res}{space 2}-.8424303{col 27}{space 2} .1792248{col 38}{space 1}   -4.70{col 47}{space 3}0.000{col 55}{space 4}-1.193704{col 68}{space 3}-.4911562
{txt}{space 13} {c |}
{space 8}_cons {c |}{col 15}{res}{space 2}-1.994597{col 27}{space 2} .6198471{col 38}{space 1}   -3.22{col 47}{space 3}0.001{col 55}{space 4}-3.209475{col 68}{space 3}-.7797186
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. ************************************************
. * TABLE A4 & A5
. ************************************************
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A6
. ************************************************
. 
. //See separate dataset and do-file, two-year-gap//
. 
. 
. ************************************************
. * TABLE A7a - Foreign fighters
. ************************************************
. 
. *Model 1*
. gen islamistff=islamist*foreignfighter
{txt}
{com}. 
. stcox islamist $X1 islamistff foreignfighter govmilsupport, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}9{txt})     =  {res}     22.67
{txt}Log pseudolikelihood =   {res}-1809.9125             {txt}Prob > chi2      =  {res}    0.0070

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |} Haz. Ratio{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2} .8309015{col 28}{space 2} .1283965{col 39}{space 1}   -1.20{col 48}{space 3}0.231{col 56}{space 4} .6137849{col 69}{space 3}  1.12482
{txt}{space 5}territory {c |}{col 16}{res}{space 2} .8502287{col 28}{space 2} .0980253{col 39}{space 1}   -1.41{col 48}{space 3}0.159{col 56}{space 4} .6782633{col 69}{space 3} 1.065794
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} 1.181792{col 28}{space 2} .1688215{col 39}{space 1}    1.17{col 48}{space 3}0.242{col 56}{space 4} .8931926{col 69}{space 3} 1.563641
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} 1.000333{col 28}{space 2} .0043625{col 39}{space 1}    0.08{col 48}{space 3}0.939{col 56}{space 4} .9918189{col 69}{space 3}  1.00892
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2}  1.01478{col 28}{space 2} .0122015{col 39}{space 1}    1.22{col 48}{space 3}0.222{col 56}{space 4} .9911453{col 69}{space 3} 1.038978
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} 1.133359{col 28}{space 2} .1180083{col 39}{space 1}    1.20{col 48}{space 3}0.229{col 56}{space 4} .9241406{col 69}{space 3} 1.389942
{txt}{space 4}islamistff {c |}{col 16}{res}{space 2} 1.012343{col 28}{space 2}  .241988{col 39}{space 1}    0.05{col 48}{space 3}0.959{col 56}{space 4} .6336636{col 69}{space 3} 1.617324
{txt}foreignfighter {c |}{col 16}{res}{space 2} .7442709{col 28}{space 2} .0917036{col 39}{space 1}   -2.40{col 48}{space 3}0.017{col 56}{space 4} .5845912{col 69}{space 3} .9475667
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2}  .661543{col 28}{space 2} .1001736{col 39}{space 1}   -2.73{col 48}{space 3}0.006{col 56}{space 4} .4916609{col 69}{space 3} .8901241
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A7a-term.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.831}}
{center:{txt}{lalign 24:}{res}{center 32:(0.128)}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.850}}
{center:{txt}{lalign 24:}{res}{center 32:(0.098)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.182}}
{center:{txt}{lalign 24:}{res}{center 32:(0.169)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.000}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.015}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.133}}
{center:{txt}{lalign 24:}{res}{center 32:(0.118)}}
{center:{txt}{lalign 24:islamistff}{res}{center 32:1.012}}
{center:{txt}{lalign 24:}{res}{center 32:(0.242)}}
{center:{txt}{lalign 24:Foreign fighters}{res}{center 32:0.744}}
{center:{txt}{lalign 24:}{res}{center 32:(0.092)*}}
{center:{txt}{lalign 24:Government support}{res}{center 32:0.662}}
{center:{txt}{lalign 24:}{res}{center 32:(0.100)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 islamistff foreignfighter govmilsupport, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1809.9692
{txt}Iteration 2:   log pseudolikelihood = {res}-1809.9125
{txt}Iteration 3:   log pseudolikelihood = {res}-1809.9125
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1809.9125

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}9{txt})     =  {res}     22.67
{txt}Log pseudolikelihood =   {res}-1809.9125             {txt}Prob > chi2      =  {res}    0.0070

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2} -.185244{col 28}{space 2} .1545267{col 39}{space 1}   -1.20{col 48}{space 3}0.231{col 56}{space 4}-.4881108{col 69}{space 3} .1176227
{txt}{space 5}territory {c |}{col 16}{res}{space 2}-.1622499{col 28}{space 2} .1152929{col 39}{space 1}   -1.41{col 48}{space 3}0.159{col 56}{space 4}-.3882197{col 69}{space 3}   .06372
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} .1670319{col 28}{space 2} .1428521{col 39}{space 1}    1.17{col 48}{space 3}0.242{col 56}{space 4}-.1129531{col 69}{space 3}  .447017
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} .0003327{col 28}{space 2}  .004361{col 39}{space 1}    0.08{col 48}{space 3}0.939{col 56}{space 4}-.0082148{col 69}{space 3} .0088802
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} .0146719{col 28}{space 2} .0120237{col 39}{space 1}    1.22{col 48}{space 3}0.222{col 56}{space 4}-.0088942{col 69}{space 3}  .038238
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} .1251857{col 28}{space 2} .1041227{col 39}{space 1}    1.20{col 48}{space 3}0.229{col 56}{space 4} -.078891{col 69}{space 3} .3292623
{txt}{space 4}islamistff {c |}{col 16}{res}{space 2} .0122678{col 28}{space 2} .2390375{col 39}{space 1}    0.05{col 48}{space 3}0.959{col 56}{space 4}-.4562371{col 69}{space 3} .4807727
{txt}foreignfighter {c |}{col 16}{res}{space 2}-.2953502{col 28}{space 2} .1232126{col 39}{space 1}   -2.40{col 48}{space 3}0.017{col 56}{space 4}-.5368425{col 69}{space 3}-.0538579
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2}-.4131802{col 28}{space 2} .1514241{col 39}{space 1}   -2.73{col 48}{space 3}0.006{col 56}{space 4}-.7099661{col 69}{space 3}-.1163944
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.03941{col 37}     0.52{col 50}    1{col 64}0.4723
{txt}      territory{col 19}{c |}{res}{col 25}-0.01262{col 37}     0.06{col 50}    1{col 64}0.8084
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04269{col 37}     0.58{col 50}    1{col 64}0.4475
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.04866{col 37}     0.69{col 50}    1{col 64}0.4045
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.02598{col 37}     0.23{col 50}    1{col 64}0.6346
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.02191{col 37}     0.19{col 50}    1{col 64}0.6630
{txt}      islamistff{col 19}{c |}{res}{col 25} 0.00092{col 37}     0.00{col 50}    1{col 64}0.9869
{txt}      foreignfig~r{col 19}{c |}{res}{col 25} 0.01639{col 37}     0.07{col 50}    1{col 64}0.7914
{txt}      govmilsupp~t{col 19}{c |}{res}{col 25}-0.00887{col 37}     0.03{col 50}    1{col 64}0.8678
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     4.43{col 50}    9{col 64}0.8808
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *lrtest*
. stcox i.islamist i.foreignfighter $X1 govmilsupport, strata(order) nolog 

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects = {res}         309                  {txt}Number of obs    =  {res}     1,657
{txt}No. of failures = {res}         433
{txt}Time at risk    = {res} 2060.906982
                                                {txt}LR chi2({res}8{txt})       =  {res}     18.12
{txt}Log likelihood  =   {res}-1809.9134                  {txt}Prob > chi2      =  {res}    0.0203

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}              _t{col 18}{c |} Haz. Ratio{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}1.islamist {c |}{col 18}{res}{space 2}  .834758{col 30}{space 2} .1259321{col 41}{space 1}   -1.20{col 50}{space 3}0.231{col 58}{space 4} .6210804{col 71}{space 3}  1.12195
{txt}1.foreignfighter {c |}{col 18}{res}{space 2}  .746836{col 30}{space 2} .1044436{col 41}{space 1}   -2.09{col 50}{space 3}0.037{col 58}{space 4} .5677881{col 71}{space 3} .9823452
{txt}{space 7}territory {c |}{col 18}{res}{space 2} .8504494{col 30}{space 2} .1108434{col 41}{space 1}   -1.24{col 50}{space 3}0.214{col 58}{space 4} .6587293{col 71}{space 3} 1.097969
{txt}{space 5}strongstart {c |}{col 18}{res}{space 2} 1.182317{col 30}{space 2}  .206672{col 41}{space 1}    0.96{col 50}{space 3}0.338{col 58}{space 4}  .839347{col 71}{space 3} 1.665429
{txt}{space 8}oilstart {c |}{col 18}{res}{space 2}  1.00035{col 30}{space 2} .0055595{col 41}{space 1}    0.06{col 50}{space 3}0.950{col 58}{space 4} .9895131{col 71}{space 3} 1.011307
{txt}{space 4}youthstartap {c |}{col 18}{res}{space 2} 1.014797{col 30}{space 2} .0152699{col 41}{space 1}    0.98{col 50}{space 3}0.329{col 58}{space 4} .9853053{col 71}{space 3} 1.045171
{txt}{space 3}muslimajstart {c |}{col 18}{res}{space 2} 1.133752{col 30}{space 2} .1262408{col 41}{space 1}    1.13{col 50}{space 3}0.260{col 58}{space 4} .9114625{col 71}{space 3} 1.410255
{txt}{space 3}govmilsupport {c |}{col 18}{res}{space 2} .6616679{col 30}{space 2}  .115506{col 41}{space 1}   -2.37{col 50}{space 3}0.018{col 58}{space 4} .4699456{col 71}{space 3} .9316065
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. estimates store main
{txt}
{com}. 
. stcox i.islamist##i.foreignfighter $X1 govmilsupport, strata(order) nolog 

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects = {res}         309                  {txt}Number of obs    =  {res}     1,657
{txt}No. of failures = {res}         433
{txt}Time at risk    = {res} 2060.906982
                                                {txt}LR chi2({res}9{txt})       =  {res}     18.12
{txt}Log likelihood  =   {res}-1809.9125                  {txt}Prob > chi2      =  {res}    0.0338

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     _t{col 25}{c |} Haz. Ratio{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}1.islamist {c |}{col 25}{res}{space 2} .8309015{col 37}{space 2} .1555637{col 48}{space 1}   -0.99{col 57}{space 3}0.322{col 65}{space 4} .5756854{col 78}{space 3} 1.199262
{txt}{space 7}1.foreignfighter {c |}{col 25}{res}{space 2} .7442709{col 37}{space 2} .1207938{col 48}{space 1}   -1.82{col 57}{space 3}0.069{col 65}{space 4} .5414803{col 78}{space 3} 1.023009
{txt}{space 23} {c |}
islamist#foreignfighter {c |}
{space 19}1 1  {c |}{col 25}{res}{space 2} 1.012343{col 37}{space 2} .2965104{col 48}{space 1}    0.04{col 57}{space 3}0.967{col 65}{space 4} .5701841{col 78}{space 3} 1.797383
{txt}{space 23} {c |}
{space 14}territory {c |}{col 25}{res}{space 2} .8502287{col 37}{space 2} .1109316{col 48}{space 1}   -1.24{col 57}{space 3}0.214{col 65}{space 4}  .658381{col 78}{space 3}  1.09798
{txt}{space 12}strongstart {c |}{col 25}{res}{space 2} 1.181792{col 37}{space 2} .2069649{col 48}{space 1}    0.95{col 57}{space 3}0.340{col 65}{space 4} .8384397{col 78}{space 3} 1.665752
{txt}{space 15}oilstart {c |}{col 25}{res}{space 2} 1.000333{col 37}{space 2} .0055749{col 48}{space 1}    0.06{col 57}{space 3}0.952{col 65}{space 4} .9894657{col 78}{space 3} 1.011319
{txt}{space 11}youthstartap {c |}{col 25}{res}{space 2}  1.01478{col 37}{space 2} .0152768{col 48}{space 1}    0.97{col 57}{space 3}0.330{col 65}{space 4} .9852756{col 78}{space 3} 1.045168
{txt}{space 10}muslimajstart {c |}{col 25}{res}{space 2} 1.133359{col 37}{space 2} .1265656{col 48}{space 1}    1.12{col 57}{space 3}0.262{col 65}{space 4} .9105655{col 78}{space 3} 1.410664
{txt}{space 10}govmilsupport {c |}{col 25}{res}{space 2}  .661543{col 37}{space 2} .1155129{col 48}{space 1}   -2.37{col 57}{space 3}0.018{col 65}{space 4}  .469817{col 78}{space 3} .9315099
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. estimates store inter
{txt}
{com}. 
. lrtest main

{txt}Likelihood-ratio test{col 55}LR chi2({res}1{txt}){col 67}={res}      0.00
{txt}(Assumption: {res}{stata est replay main:main}{txt} nested in {res}{stata est replay inter:inter}{txt}){col 55}Prob > chi2 = {res}   0.9666
{txt}
{com}. 
. *wald*
. stcox i.islamist##i.foreignfighter $X1 govmilsupport, strata(order) nolog 

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects = {res}         309                  {txt}Number of obs    =  {res}     1,657
{txt}No. of failures = {res}         433
{txt}Time at risk    = {res} 2060.906982
                                                {txt}LR chi2({res}9{txt})       =  {res}     18.12
{txt}Log likelihood  =   {res}-1809.9125                  {txt}Prob > chi2      =  {res}    0.0338

{txt}{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     _t{col 25}{c |} Haz. Ratio{col 37}   Std. Err.{col 49}      z{col 57}   P>|z|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}1.islamist {c |}{col 25}{res}{space 2} .8309015{col 37}{space 2} .1555637{col 48}{space 1}   -0.99{col 57}{space 3}0.322{col 65}{space 4} .5756854{col 78}{space 3} 1.199262
{txt}{space 7}1.foreignfighter {c |}{col 25}{res}{space 2} .7442709{col 37}{space 2} .1207938{col 48}{space 1}   -1.82{col 57}{space 3}0.069{col 65}{space 4} .5414803{col 78}{space 3} 1.023009
{txt}{space 23} {c |}
islamist#foreignfighter {c |}
{space 19}1 1  {c |}{col 25}{res}{space 2} 1.012343{col 37}{space 2} .2965104{col 48}{space 1}    0.04{col 57}{space 3}0.967{col 65}{space 4} .5701841{col 78}{space 3} 1.797383
{txt}{space 23} {c |}
{space 14}territory {c |}{col 25}{res}{space 2} .8502287{col 37}{space 2} .1109316{col 48}{space 1}   -1.24{col 57}{space 3}0.214{col 65}{space 4}  .658381{col 78}{space 3}  1.09798
{txt}{space 12}strongstart {c |}{col 25}{res}{space 2} 1.181792{col 37}{space 2} .2069649{col 48}{space 1}    0.95{col 57}{space 3}0.340{col 65}{space 4} .8384397{col 78}{space 3} 1.665752
{txt}{space 15}oilstart {c |}{col 25}{res}{space 2} 1.000333{col 37}{space 2} .0055749{col 48}{space 1}    0.06{col 57}{space 3}0.952{col 65}{space 4} .9894657{col 78}{space 3} 1.011319
{txt}{space 11}youthstartap {c |}{col 25}{res}{space 2}  1.01478{col 37}{space 2} .0152768{col 48}{space 1}    0.97{col 57}{space 3}0.330{col 65}{space 4} .9852756{col 78}{space 3} 1.045168
{txt}{space 10}muslimajstart {c |}{col 25}{res}{space 2} 1.133359{col 37}{space 2} .1265656{col 48}{space 1}    1.12{col 57}{space 3}0.262{col 65}{space 4} .9105655{col 78}{space 3} 1.410664
{txt}{space 10}govmilsupport {c |}{col 25}{res}{space 2}  .661543{col 37}{space 2} .1155129{col 48}{space 1}   -2.37{col 57}{space 3}0.018{col 65}{space 4}  .469817{col 78}{space 3} .9315099
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. 
. test 1.islamist#0.foreignfighter=1.islamist#1.foreignfighter

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1o.islamist#0b.foreignfighter - 1.islamist#1.foreignfighter = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    0.00
{txt}{col 10}Prob > chi2 =  {res}  0.9666
{txt}
{com}. 
. *Model 2 and 3*
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A7b - Foreign fighters is absent
. ************************************************
. 
. *Model 1, when Foreign Fighter is 0*
. gen foreignfighter0=.
{txt}(1,923 missing values generated)

{com}. recode foreignfighter0 .=1 if foreignfighter==0
{txt}(foreignfighter0: 1403 changes made)

{com}. recode foreignfighter0 .=0 if foreignfighter==1
{txt}(foreignfighter0: 520 changes made)

{com}. tab foreignfighter0 foreignfighter

{txt}foreignfig {c |}   Foreign fighters
     hter0 {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}         0        520 {txt}{c |}{res}       520 
{txt}         1 {c |}{res}     1,403          0 {txt}{c |}{res}     1,403 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}     1,403        520 {txt}{c |}{res}     1,923 
{txt}
{com}. 
. gen islamistff0=islamist*foreignfighter0
{txt}
{com}. 
. stcox islamist $X1 islamistff0 foreignfighter0 govmilsupport, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}9{txt})     =  {res}     22.67
{txt}Log pseudolikelihood =   {res}-1809.9125             {txt}Prob > chi2      =  {res}    0.0070

{txt}{ralign 81:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}             _t{col 17}{c |} Haz. Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}islamist {c |}{col 17}{res}{space 2} .8411576{col 29}{space 2} .1752763{col 40}{space 1}   -0.83{col 49}{space 3}0.406{col 57}{space 4}  .559124{col 70}{space 3} 1.265455
{txt}{space 6}territory {c |}{col 17}{res}{space 2} .8502287{col 29}{space 2} .0980253{col 40}{space 1}   -1.41{col 49}{space 3}0.159{col 57}{space 4} .6782633{col 70}{space 3} 1.065794
{txt}{space 4}strongstart {c |}{col 17}{res}{space 2} 1.181792{col 29}{space 2} .1688215{col 40}{space 1}    1.17{col 49}{space 3}0.242{col 57}{space 4} .8931926{col 70}{space 3} 1.563641
{txt}{space 7}oilstart {c |}{col 17}{res}{space 2} 1.000333{col 29}{space 2} .0043625{col 40}{space 1}    0.08{col 49}{space 3}0.939{col 57}{space 4} .9918189{col 70}{space 3}  1.00892
{txt}{space 3}youthstartap {c |}{col 17}{res}{space 2}  1.01478{col 29}{space 2} .0122015{col 40}{space 1}    1.22{col 49}{space 3}0.222{col 57}{space 4} .9911453{col 70}{space 3} 1.038978
{txt}{space 2}muslimajstart {c |}{col 17}{res}{space 2} 1.133359{col 29}{space 2} .1180083{col 40}{space 1}    1.20{col 49}{space 3}0.229{col 57}{space 4} .9241406{col 70}{space 3} 1.389942
{txt}{space 4}islamistff0 {c |}{col 17}{res}{space 2} .9878071{col 29}{space 2} .2361229{col 40}{space 1}   -0.05{col 49}{space 3}0.959{col 57}{space 4} .6183055{col 70}{space 3} 1.578124
{txt}foreignfighter0 {c |}{col 17}{res}{space 2} 1.343597{col 29}{space 2} .1655481{col 40}{space 1}    2.40{col 49}{space 3}0.017{col 57}{space 4} 1.055335{col 70}{space 3} 1.710597
{txt}{space 2}govmilsupport {c |}{col 17}{res}{space 2}  .661543{col 29}{space 2} .1001736{col 40}{space 1}   -2.73{col 49}{space 3}0.006{col 57}{space 4} .4916609{col 70}{space 3} .8901241
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A7b-term.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.841}}
{center:{txt}{lalign 24:}{res}{center 32:(0.175)}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.850}}
{center:{txt}{lalign 24:}{res}{center 32:(0.098)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.182}}
{center:{txt}{lalign 24:}{res}{center 32:(0.169)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.000}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.015}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.133}}
{center:{txt}{lalign 24:}{res}{center 32:(0.118)}}
{center:{txt}{lalign 24:islamistff0}{res}{center 32:0.988}}
{center:{txt}{lalign 24:}{res}{center 32:(0.236)}}
{center:{txt}{lalign 24:foreignfighter0}{res}{center 32:1.344}}
{center:{txt}{lalign 24:}{res}{center 32:(0.166)*}}
{center:{txt}{lalign 24:Government support}{res}{center 32:0.662}}
{center:{txt}{lalign 24:}{res}{center 32:(0.100)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. *Model 2 and 3*
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A7c - Govmilsupport
. ************************************************
. 
. *Model 1*
. gen islamistgovmil=islamist*govmilsupport
{txt}
{com}. 
. stcox islamist $X1 islamistgovmil govmilsupport foreignfighter, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}9{txt})     =  {res}     22.54
{txt}Log pseudolikelihood =   {res}-1809.2397             {txt}Prob > chi2      =  {res}    0.0073

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |} Haz. Ratio{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2} .9014908{col 28}{space 2} .1323116{col 39}{space 1}   -0.71{col 48}{space 3}0.480{col 56}{space 4} .6761306{col 69}{space 3} 1.201965
{txt}{space 5}territory {c |}{col 16}{res}{space 2} .8449781{col 28}{space 2} .0980447{col 39}{space 1}   -1.45{col 48}{space 3}0.147{col 56}{space 4} .6730986{col 69}{space 3} 1.060748
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} 1.171673{col 28}{space 2} .1658134{col 39}{space 1}    1.12{col 48}{space 3}0.263{col 56}{space 4} .8878622{col 69}{space 3} 1.546205
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} 1.000198{col 28}{space 2} .0043798{col 39}{space 1}    0.05{col 48}{space 3}0.964{col 56}{space 4} .9916504{col 69}{space 3} 1.008819
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2}  1.01356{col 28}{space 2} .0122492{col 39}{space 1}    1.11{col 48}{space 3}0.265{col 56}{space 4} .9898339{col 69}{space 3} 1.037854
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} 1.150791{col 28}{space 2} .1186277{col 39}{space 1}    1.36{col 48}{space 3}0.173{col 56}{space 4} .9402672{col 69}{space 3} 1.408449
{txt}islamistgovmil {c |}{col 16}{res}{space 2} .6669229{col 28}{space 2} .2138992{col 39}{space 1}   -1.26{col 48}{space 3}0.207{col 56}{space 4} .3556916{col 69}{space 3} 1.250483
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2} .7567648{col 28}{space 2} .1277537{col 39}{space 1}   -1.65{col 48}{space 3}0.099{col 56}{space 4} .5435817{col 69}{space 3} 1.053554
{txt}foreignfighter {c |}{col 16}{res}{space 2} .7458624{col 28}{space 2}    .0849{col 39}{space 1}   -2.58{col 48}{space 3}0.010{col 56}{space 4} .5967166{col 69}{space 3} .9322862
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A7c-term.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.901}}
{center:{txt}{lalign 24:}{res}{center 32:(0.132)}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.845}}
{center:{txt}{lalign 24:}{res}{center 32:(0.098)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.172}}
{center:{txt}{lalign 24:}{res}{center 32:(0.166)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.000}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.014}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.151}}
{center:{txt}{lalign 24:}{res}{center 32:(0.119)}}
{center:{txt}{lalign 24:islamistgovmil}{res}{center 32:0.667}}
{center:{txt}{lalign 24:}{res}{center 32:(0.214)}}
{center:{txt}{lalign 24:Government support}{res}{center 32:0.757}}
{center:{txt}{lalign 24:}{res}{center 32:(0.128)+}}
{center:{txt}{lalign 24:Foreign fighters}{res}{center 32:0.746}}
{center:{txt}{lalign 24:}{res}{center 32:(0.085)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 islamistgovmil govmilsupport foreignfighter, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1809.4169
{txt}Iteration 2:   log pseudolikelihood = {res}-1809.2402
{txt}Iteration 3:   log pseudolikelihood = {res}-1809.2397
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1809.2397

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}9{txt})     =  {res}     22.54
{txt}Log pseudolikelihood =   {res}-1809.2397             {txt}Prob > chi2      =  {res}    0.0073

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2}-.1037055{col 28}{space 2} .1467698{col 39}{space 1}   -0.71{col 48}{space 3}0.480{col 56}{space 4} -.391369{col 69}{space 3} .1839581
{txt}{space 5}territory {c |}{col 16}{res}{space 2}-.1684446{col 28}{space 2} .1160322{col 39}{space 1}   -1.45{col 48}{space 3}0.147{col 56}{space 4}-.3958635{col 69}{space 3} .0589743
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} .1584324{col 28}{space 2} .1415185{col 39}{space 1}    1.12{col 48}{space 3}0.263{col 56}{space 4}-.1189388{col 69}{space 3} .4358036
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} .0001979{col 28}{space 2} .0043789{col 39}{space 1}    0.05{col 48}{space 3}0.964{col 56}{space 4}-.0083846{col 69}{space 3} .0087803
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} .0134686{col 28}{space 2} .0120853{col 39}{space 1}    1.11{col 48}{space 3}0.265{col 56}{space 4}-.0102182{col 69}{space 3} .0371553
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} .1404491{col 28}{space 2} .1030837{col 39}{space 1}    1.36{col 48}{space 3}0.173{col 56}{space 4}-.0615912{col 69}{space 3} .3424894
{txt}islamistgovmil {c |}{col 16}{res}{space 2}-.4050808{col 28}{space 2} .3207254{col 39}{space 1}   -1.26{col 48}{space 3}0.207{col 56}{space 4}-1.033691{col 69}{space 3} .2235296
{txt}{space 1}govmilsupport {c |}{col 16}{res}{space 2}-.2787028{col 28}{space 2} .1688156{col 39}{space 1}   -1.65{col 48}{space 3}0.099{col 56}{space 4}-.6095753{col 69}{space 3} .0521696
{txt}foreignfighter {c |}{col 16}{res}{space 2}-.2932142{col 28}{space 2}  .113828{col 39}{space 1}   -2.58{col 48}{space 3}0.010{col 56}{space 4}-.5163129{col 69}{space 3}-.0701155
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.02123{col 37}     0.18{col 50}    1{col 64}0.6756
{txt}      territory{col 19}{c |}{res}{col 25}-0.01298{col 37}     0.06{col 50}    1{col 64}0.8047
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.03843{col 37}     0.45{col 50}    1{col 64}0.5026
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.03690{col 37}     0.42{col 50}    1{col 64}0.5153
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.02997{col 37}     0.30{col 50}    1{col 64}0.5828
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.02404{col 37}     0.22{col 50}    1{col 64}0.6370
{txt}      islamistgo~l{col 19}{c |}{res}{col 25} 0.02820{col 37}     0.29{col 50}    1{col 64}0.5904
{txt}      govmilsupp~t{col 19}{c |}{res}{col 25}-0.00703{col 37}     0.02{col 50}    1{col 64}0.9025
{txt}      foreignfig~r{col 19}{c |}{res}{col 25} 0.02029{col 37}     0.13{col 50}    1{col 64}0.7194
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     4.75{col 50}    9{col 64}0.8551
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *lrtest*
. stcox i.islamist i.govmilsupport $X1 foreignfighter, strata(order) nolog 

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects = {res}         309                  {txt}Number of obs    =  {res}     1,657
{txt}No. of failures = {res}         433
{txt}Time at risk    = {res} 2060.906982
                                                {txt}LR chi2({res}8{txt})       =  {res}     18.12
{txt}Log likelihood  =   {res}-1809.9134                  {txt}Prob > chi2      =  {res}    0.0203

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             _t{col 17}{c |} Haz. Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}1.islamist {c |}{col 17}{res}{space 2}  .834758{col 29}{space 2} .1259321{col 40}{space 1}   -1.20{col 49}{space 3}0.231{col 57}{space 4} .6210804{col 70}{space 3}  1.12195
{txt}1.govmilsupport {c |}{col 17}{res}{space 2} .6616679{col 29}{space 2}  .115506{col 40}{space 1}   -2.37{col 49}{space 3}0.018{col 57}{space 4} .4699456{col 70}{space 3} .9316065
{txt}{space 6}territory {c |}{col 17}{res}{space 2} .8504494{col 29}{space 2} .1108434{col 40}{space 1}   -1.24{col 49}{space 3}0.214{col 57}{space 4} .6587293{col 70}{space 3} 1.097969
{txt}{space 4}strongstart {c |}{col 17}{res}{space 2} 1.182317{col 29}{space 2}  .206672{col 40}{space 1}    0.96{col 49}{space 3}0.338{col 57}{space 4}  .839347{col 70}{space 3} 1.665429
{txt}{space 7}oilstart {c |}{col 17}{res}{space 2}  1.00035{col 29}{space 2} .0055595{col 40}{space 1}    0.06{col 49}{space 3}0.950{col 57}{space 4} .9895131{col 70}{space 3} 1.011307
{txt}{space 3}youthstartap {c |}{col 17}{res}{space 2} 1.014797{col 29}{space 2} .0152699{col 40}{space 1}    0.98{col 49}{space 3}0.329{col 57}{space 4} .9853053{col 70}{space 3} 1.045171
{txt}{space 2}muslimajstart {c |}{col 17}{res}{space 2} 1.133752{col 29}{space 2} .1262408{col 40}{space 1}    1.13{col 49}{space 3}0.260{col 57}{space 4} .9114625{col 70}{space 3} 1.410255
{txt}{space 1}foreignfighter {c |}{col 17}{res}{space 2}  .746836{col 29}{space 2} .1044436{col 40}{space 1}   -2.09{col 49}{space 3}0.037{col 57}{space 4} .5677881{col 70}{space 3} .9823452
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. estimates store main
{txt}
{com}. 
. stcox i.islamist##i.govmilsupport $X1 foreignfighter, strata(order) nolog 

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects = {res}         309                  {txt}Number of obs    =  {res}     1,657
{txt}No. of failures = {res}         433
{txt}Time at risk    = {res} 2060.906982
                                                {txt}LR chi2({res}9{txt})       =  {res}     19.47
{txt}Log likelihood  =   {res}-1809.2397                  {txt}Prob > chi2      =  {res}    0.0215

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    _t{col 24}{c |} Haz. Ratio{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}1.islamist {c |}{col 24}{res}{space 2} .9014908{col 36}{space 2} .1458478{col 47}{space 1}   -0.64{col 56}{space 3}0.522{col 64}{space 4} .6565223{col 77}{space 3} 1.237864
{txt}{space 7}1.govmilsupport {c |}{col 24}{res}{space 2} .7567648{col 36}{space 2} .1534955{col 47}{space 1}   -1.37{col 56}{space 3}0.169{col 64}{space 4} .5085231{col 77}{space 3} 1.126189
{txt}{space 22} {c |}
islamist#govmilsupport {c |}
{space 18}1 1  {c |}{col 24}{res}{space 2} .6669229{col 36}{space 2} .2347869{col 47}{space 1}   -1.15{col 56}{space 3}0.250{col 64}{space 4} .3345141{col 77}{space 3} 1.329649
{txt}{space 22} {c |}
{space 13}territory {c |}{col 24}{res}{space 2} .8449781{col 36}{space 2} .1104524{col 47}{space 1}   -1.29{col 56}{space 3}0.198{col 64}{space 4} .6540026{col 77}{space 3}  1.09172
{txt}{space 11}strongstart {c |}{col 24}{res}{space 2} 1.171673{col 36}{space 2} .2048936{col 47}{space 1}    0.91{col 56}{space 3}0.365{col 64}{space 4} .8316764{col 77}{space 3} 1.650662
{txt}{space 14}oilstart {c |}{col 24}{res}{space 2} 1.000198{col 36}{space 2} .0055735{col 47}{space 1}    0.04{col 56}{space 3}0.972{col 64}{space 4} .9893334{col 77}{space 3} 1.011182
{txt}{space 10}youthstartap {c |}{col 24}{res}{space 2}  1.01356{col 36}{space 2} .0153473{col 47}{space 1}    0.89{col 56}{space 3}0.374{col 64}{space 4} .9839216{col 77}{space 3} 1.044091
{txt}{space 9}muslimajstart {c |}{col 24}{res}{space 2} 1.150791{col 36}{space 2} .1284588{col 47}{space 1}    1.26{col 56}{space 3}0.208{col 64}{space 4} .9246547{col 77}{space 3} 1.432231
{txt}{space 8}foreignfighter {c |}{col 24}{res}{space 2} .7458624{col 36}{space 2} .1044353{col 47}{space 1}   -2.09{col 56}{space 3}0.036{col 64}{space 4} .5668574{col 77}{space 3} .9813944
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. estimates store inter
{txt}
{com}. 
. lrtest main

{txt}Likelihood-ratio test{col 55}LR chi2({res}1{txt}){col 67}={res}      1.35
{txt}(Assumption: {res}{stata est replay main:main}{txt} nested in {res}{stata est replay inter:inter}{txt}){col 55}Prob > chi2 = {res}   0.2457
{txt}
{com}. 
. *wald*
. stcox i.islamist##i.govmilsupport $X1 foreignfighter, strata(order) nolog 

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects = {res}         309                  {txt}Number of obs    =  {res}     1,657
{txt}No. of failures = {res}         433
{txt}Time at risk    = {res} 2060.906982
                                                {txt}LR chi2({res}9{txt})       =  {res}     19.47
{txt}Log likelihood  =   {res}-1809.2397                  {txt}Prob > chi2      =  {res}    0.0215

{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                    _t{col 24}{c |} Haz. Ratio{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}1.islamist {c |}{col 24}{res}{space 2} .9014908{col 36}{space 2} .1458478{col 47}{space 1}   -0.64{col 56}{space 3}0.522{col 64}{space 4} .6565223{col 77}{space 3} 1.237864
{txt}{space 7}1.govmilsupport {c |}{col 24}{res}{space 2} .7567648{col 36}{space 2} .1534955{col 47}{space 1}   -1.37{col 56}{space 3}0.169{col 64}{space 4} .5085231{col 77}{space 3} 1.126189
{txt}{space 22} {c |}
islamist#govmilsupport {c |}
{space 18}1 1  {c |}{col 24}{res}{space 2} .6669229{col 36}{space 2} .2347869{col 47}{space 1}   -1.15{col 56}{space 3}0.250{col 64}{space 4} .3345141{col 77}{space 3} 1.329649
{txt}{space 22} {c |}
{space 13}territory {c |}{col 24}{res}{space 2} .8449781{col 36}{space 2} .1104524{col 47}{space 1}   -1.29{col 56}{space 3}0.198{col 64}{space 4} .6540026{col 77}{space 3}  1.09172
{txt}{space 11}strongstart {c |}{col 24}{res}{space 2} 1.171673{col 36}{space 2} .2048936{col 47}{space 1}    0.91{col 56}{space 3}0.365{col 64}{space 4} .8316764{col 77}{space 3} 1.650662
{txt}{space 14}oilstart {c |}{col 24}{res}{space 2} 1.000198{col 36}{space 2} .0055735{col 47}{space 1}    0.04{col 56}{space 3}0.972{col 64}{space 4} .9893334{col 77}{space 3} 1.011182
{txt}{space 10}youthstartap {c |}{col 24}{res}{space 2}  1.01356{col 36}{space 2} .0153473{col 47}{space 1}    0.89{col 56}{space 3}0.374{col 64}{space 4} .9839216{col 77}{space 3} 1.044091
{txt}{space 9}muslimajstart {c |}{col 24}{res}{space 2} 1.150791{col 36}{space 2} .1284588{col 47}{space 1}    1.26{col 56}{space 3}0.208{col 64}{space 4} .9246547{col 77}{space 3} 1.432231
{txt}{space 8}foreignfighter {c |}{col 24}{res}{space 2} .7458624{col 36}{space 2} .1044353{col 47}{space 1}   -2.09{col 56}{space 3}0.036{col 64}{space 4} .5668574{col 77}{space 3} .9813944
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. 
. test 1.islamist#0.govmilsupport=1.islamist#1.govmilsupport

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1o.islamist#0b.govmilsupport - 1.islamist#1.govmilsupport = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    1.32
{txt}{col 10}Prob > chi2 =  {res}  0.2499
{txt}
{com}. 
. *Model 2 and 3*
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A7d - Govmilsupport is absent
. ************************************************
. 
. *Model 1, when Govmil support is 1*
. gen govmilsupport0=.
{txt}(1,923 missing values generated)

{com}. recode govmilsupport0 .=1 if govmilsupport==0
{txt}(govmilsupport0: 1629 changes made)

{com}. recode govmilsupport0 .=0 if govmilsupport==1
{txt}(govmilsupport0: 294 changes made)

{com}. tab govmilsupport0 govmilsupport

{txt}govmilsupp {c |}  Government support
      ort0 {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}         0        294 {txt}{c |}{res}       294 
{txt}         1 {c |}{res}     1,629          0 {txt}{c |}{res}     1,629 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}     1,629        294 {txt}{c |}{res}     1,923 
{txt}
{com}. 
. gen islamistgovmil0=islamist*govmilsupport0
{txt}
{com}. 
. stcox islamist $X1 islamistgovmil0 govmilsupport0 foreignfighter, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}9{txt})     =  {res}     22.54
{txt}Log pseudolikelihood =   {res}-1809.2397             {txt}Prob > chi2      =  {res}    0.0073

{txt}{ralign 81:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}             _t{col 17}{c |} Haz. Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}islamist {c |}{col 17}{res}{space 2} .6012249{col 29}{space 2} .1719002{col 40}{space 1}   -1.78{col 49}{space 3}0.075{col 57}{space 4} .3432924{col 70}{space 3} 1.052955
{txt}{space 6}territory {c |}{col 17}{res}{space 2} .8449781{col 29}{space 2} .0980447{col 40}{space 1}   -1.45{col 49}{space 3}0.147{col 57}{space 4} .6730986{col 70}{space 3} 1.060748
{txt}{space 4}strongstart {c |}{col 17}{res}{space 2} 1.171673{col 29}{space 2} .1658134{col 40}{space 1}    1.12{col 49}{space 3}0.263{col 57}{space 4} .8878622{col 70}{space 3} 1.546205
{txt}{space 7}oilstart {c |}{col 17}{res}{space 2} 1.000198{col 29}{space 2} .0043798{col 40}{space 1}    0.05{col 49}{space 3}0.964{col 57}{space 4} .9916504{col 70}{space 3} 1.008819
{txt}{space 3}youthstartap {c |}{col 17}{res}{space 2}  1.01356{col 29}{space 2} .0122492{col 40}{space 1}    1.11{col 49}{space 3}0.265{col 57}{space 4} .9898339{col 70}{space 3} 1.037854
{txt}{space 2}muslimajstart {c |}{col 17}{res}{space 2} 1.150791{col 29}{space 2} .1186277{col 40}{space 1}    1.36{col 49}{space 3}0.173{col 57}{space 4} .9402672{col 70}{space 3} 1.408449
{txt}islamistgovmil0 {c |}{col 17}{res}{space 2} 1.499424{col 29}{space 2} .4809033{col 40}{space 1}    1.26{col 49}{space 3}0.207{col 57}{space 4} .7996913{col 70}{space 3} 2.811424
{txt}{space 1}govmilsupport0 {c |}{col 17}{res}{space 2} 1.321415{col 29}{space 2} .2230754{col 40}{space 1}    1.65{col 49}{space 3}0.099{col 57}{space 4} .9491678{col 70}{space 3}  1.83965
{txt}{space 1}foreignfighter {c |}{col 17}{res}{space 2} .7458624{col 29}{space 2}    .0849{col 40}{space 1}   -2.58{col 49}{space 3}0.010{col 57}{space 4} .5967166{col 70}{space 3} .9322862
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A7d-term.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.601}}
{center:{txt}{lalign 24:}{res}{center 32:(0.172)+}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.845}}
{center:{txt}{lalign 24:}{res}{center 32:(0.098)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.172}}
{center:{txt}{lalign 24:}{res}{center 32:(0.166)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.000}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.014}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.151}}
{center:{txt}{lalign 24:}{res}{center 32:(0.119)}}
{center:{txt}{lalign 24:islamistgovmil0}{res}{center 32:1.499}}
{center:{txt}{lalign 24:}{res}{center 32:(0.481)}}
{center:{txt}{lalign 24:govmilsupport0}{res}{center 32:1.321}}
{center:{txt}{lalign 24:}{res}{center 32:(0.223)+}}
{center:{txt}{lalign 24:Foreign fighters}{res}{center 32:0.746}}
{center:{txt}{lalign 24:}{res}{center 32:(0.085)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 islamistgovmil0 govmilsupport0 foreignfighter, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1809.4169
{txt}Iteration 2:   log pseudolikelihood = {res}-1809.2402
{txt}Iteration 3:   log pseudolikelihood = {res}-1809.2397
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1809.2397

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}9{txt})     =  {res}     22.54
{txt}Log pseudolikelihood =   {res}-1809.2397             {txt}Prob > chi2      =  {res}    0.0073

{txt}{ralign 81:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}             _t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}islamist {c |}{col 17}{res}{space 2}-.5087862{col 29}{space 2} .2859167{col 40}{space 1}   -1.78{col 49}{space 3}0.075{col 57}{space 4}-1.069173{col 70}{space 3} .0516002
{txt}{space 6}territory {c |}{col 17}{res}{space 2}-.1684446{col 29}{space 2} .1160322{col 40}{space 1}   -1.45{col 49}{space 3}0.147{col 57}{space 4}-.3958635{col 70}{space 3} .0589743
{txt}{space 4}strongstart {c |}{col 17}{res}{space 2} .1584324{col 29}{space 2} .1415185{col 40}{space 1}    1.12{col 49}{space 3}0.263{col 57}{space 4}-.1189388{col 70}{space 3} .4358036
{txt}{space 7}oilstart {c |}{col 17}{res}{space 2} .0001979{col 29}{space 2} .0043789{col 40}{space 1}    0.05{col 49}{space 3}0.964{col 57}{space 4}-.0083846{col 70}{space 3} .0087803
{txt}{space 3}youthstartap {c |}{col 17}{res}{space 2} .0134686{col 29}{space 2} .0120853{col 40}{space 1}    1.11{col 49}{space 3}0.265{col 57}{space 4}-.0102182{col 70}{space 3} .0371553
{txt}{space 2}muslimajstart {c |}{col 17}{res}{space 2} .1404491{col 29}{space 2} .1030837{col 40}{space 1}    1.36{col 49}{space 3}0.173{col 57}{space 4}-.0615912{col 70}{space 3} .3424894
{txt}islamistgovmil0 {c |}{col 17}{res}{space 2} .4050808{col 29}{space 2} .3207254{col 40}{space 1}    1.26{col 49}{space 3}0.207{col 57}{space 4}-.2235296{col 70}{space 3} 1.033691
{txt}{space 1}govmilsupport0 {c |}{col 17}{res}{space 2} .2787028{col 29}{space 2} .1688156{col 40}{space 1}    1.65{col 49}{space 3}0.099{col 57}{space 4}-.0521696{col 70}{space 3} .6095753
{txt}{space 1}foreignfighter {c |}{col 17}{res}{space 2}-.2932142{col 29}{space 2}  .113828{col 40}{space 1}   -2.58{col 49}{space 3}0.010{col 57}{space 4}-.5163129{col 70}{space 3}-.0701155
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.04468{col 37}     0.67{col 50}    1{col 64}0.4130
{txt}      territory{col 19}{c |}{res}{col 25}-0.01298{col 37}     0.06{col 50}    1{col 64}0.8047
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.03843{col 37}     0.45{col 50}    1{col 64}0.5026
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.03690{col 37}     0.42{col 50}    1{col 64}0.5153
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.02997{col 37}     0.30{col 50}    1{col 64}0.5828
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.02404{col 37}     0.22{col 50}    1{col 64}0.6370
{txt}      islamistgo~0{col 19}{c |}{res}{col 25}-0.02820{col 37}     0.29{col 50}    1{col 64}0.5904
{txt}      govmilsupp~0{col 19}{c |}{res}{col 25} 0.00703{col 37}     0.02{col 50}    1{col 64}0.9025
{txt}      foreignfig~r{col 19}{c |}{res}{col 25} 0.02029{col 37}     0.13{col 50}    1{col 64}0.7194
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     4.75{col 50}    9{col 64}0.8551
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. *Model 2 and 3*
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A8
. ************************************************
. 
. *alternative measures of secondary support*
. 
. *Model 1*
. stcox islamist $X1 secsup_govgov rebextpartdummy, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         278             {txt}Number of obs    =  {res}     1,479
{txt}No. of failures      = {res}         364
{txt}Time at risk         = {res} 1771.287354
                                                {txt}Wald chi2({res}8{txt})     =  {res}     29.34
{txt}Log pseudolikelihood =   {res}-1490.4728             {txt}Prob > chi2      =  {res}    0.0003

{txt}{ralign 81:(Std. Err. adjusted for {res:278} clusters in dyadid)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}             _t{col 17}{c |} Haz. Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}islamist {c |}{col 17}{res}{space 2} .8541927{col 29}{space 2} .1343814{col 40}{space 1}   -1.00{col 49}{space 3}0.316{col 57}{space 4} .6275453{col 70}{space 3} 1.162697
{txt}{space 6}territory {c |}{col 17}{res}{space 2}  .931566{col 29}{space 2} .1285925{col 40}{space 1}   -0.51{col 49}{space 3}0.608{col 57}{space 4} .7107463{col 70}{space 3} 1.220992
{txt}{space 4}strongstart {c |}{col 17}{res}{space 2} 1.303065{col 29}{space 2} .1705882{col 40}{space 1}    2.02{col 49}{space 3}0.043{col 57}{space 4} 1.008167{col 70}{space 3} 1.684222
{txt}{space 7}oilstart {c |}{col 17}{res}{space 2} 1.000874{col 29}{space 2} .0051605{col 40}{space 1}    0.17{col 49}{space 3}0.865{col 57}{space 4} .9908105{col 70}{space 3} 1.011039
{txt}{space 3}youthstartap {c |}{col 17}{res}{space 2} 1.013682{col 29}{space 2} .0145942{col 40}{space 1}    0.94{col 49}{space 3}0.345{col 57}{space 4} .9854781{col 70}{space 3} 1.042694
{txt}{space 2}muslimajstart {c |}{col 17}{res}{space 2} 1.182528{col 29}{space 2} .1266197{col 40}{space 1}    1.57{col 49}{space 3}0.117{col 57}{space 4}  .958669{col 70}{space 3} 1.458661
{txt}{space 2}secsup_govgov {c |}{col 17}{res}{space 2} .5787661{col 29}{space 2} .1387593{col 40}{space 1}   -2.28{col 49}{space 3}0.023{col 57}{space 4} .3617657{col 70}{space 3} .9259314
{txt}rebextpartdummy {c |}{col 17}{res}{space 2} .6105244{col 29}{space 2} .1083561{col 40}{space 1}   -2.78{col 49}{space 3}0.005{col 57}{space 4}  .431153{col 70}{space 3} .8645192
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A8a.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 64}}
{center:{txt}{lalign 30:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 64}}
{center:{txt}{lalign 30:Islamist claim}{res}{center 32:0.854}}
{center:{txt}{lalign 30:}{res}{center 32:(0.134)}}
{center:{txt}{lalign 30:Territory}{res}{center 32:0.932}}
{center:{txt}{lalign 30:}{res}{center 32:(0.129)}}
{center:{txt}{lalign 30:Strong rebels}{res}{center 32:1.303}}
{center:{txt}{lalign 30:}{res}{center 32:(0.171)*}}
{center:{txt}{lalign 30:Oil}{res}{center 32:1.001}}
{center:{txt}{lalign 30:}{res}{center 32:(0.005)}}
{center:{txt}{lalign 30:Youth bulge/adult pop.}{res}{center 32:1.014}}
{center:{txt}{lalign 30:}{res}{center 32:(0.015)}}
{center:{txt}{lalign 30:Muslim majority}{res}{center 32:1.183}}
{center:{txt}{lalign 30:}{res}{center 32:(0.127)}}
{center:{txt}{lalign 30:Government secondary support}{res}{center 32:0.579}}
{center:{txt}{lalign 30:}{res}{center 32:(0.139)*}}
{center:{txt}{lalign 30:Rebel support}{res}{center 32:0.611}}
{center:{txt}{lalign 30:}{res}{center 32:(0.108)**}}
{center:{txt}{lalign 30:N}{res}{center 32:1,479}}
{txt}{center:{hline 64}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 secsup_govgov rebextpartdummy, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1501.2822
{txt}Iteration 1:   log pseudolikelihood = {res}-1490.7187
{txt}Iteration 2:   log pseudolikelihood = {res}-1490.4732
{txt}Iteration 3:   log pseudolikelihood = {res}-1490.4728
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1490.4728

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         278             {txt}Number of obs    =  {res}     1,479
{txt}No. of failures      = {res}         364
{txt}Time at risk         = {res} 1771.287354
                                                {txt}Wald chi2({res}8{txt})     =  {res}     29.34
{txt}Log pseudolikelihood =   {res}-1490.4728             {txt}Prob > chi2      =  {res}    0.0003

{txt}{ralign 81:(Std. Err. adjusted for {res:278} clusters in dyadid)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}             _t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}islamist {c |}{col 17}{res}{space 2}-.1575984{col 29}{space 2} .1573197{col 40}{space 1}   -1.00{col 49}{space 3}0.316{col 57}{space 4}-.4659394{col 70}{space 3} .1507426
{txt}{space 6}territory {c |}{col 17}{res}{space 2}-.0708882{col 29}{space 2}  .138039{col 40}{space 1}   -0.51{col 49}{space 3}0.608{col 57}{space 4}-.3414398{col 70}{space 3} .1996633
{txt}{space 4}strongstart {c |}{col 17}{res}{space 2} .2647189{col 29}{space 2} .1309131{col 40}{space 1}    2.02{col 49}{space 3}0.043{col 57}{space 4}  .008134{col 70}{space 3} .5213038
{txt}{space 7}oilstart {c |}{col 17}{res}{space 2} .0008735{col 29}{space 2}  .005156{col 40}{space 1}    0.17{col 49}{space 3}0.865{col 57}{space 4} -.009232{col 70}{space 3}  .010979
{txt}{space 3}youthstartap {c |}{col 17}{res}{space 2} .0135896{col 29}{space 2} .0143972{col 40}{space 1}    0.94{col 49}{space 3}0.345{col 57}{space 4}-.0146284{col 70}{space 3} .0418076
{txt}{space 2}muslimajstart {c |}{col 17}{res}{space 2} .1676546{col 29}{space 2} .1070754{col 40}{space 1}    1.57{col 49}{space 3}0.117{col 57}{space 4}-.0422094{col 70}{space 3} .3775186
{txt}{space 2}secsup_govgov {c |}{col 17}{res}{space 2}-.5468568{col 29}{space 2} .2397502{col 40}{space 1}   -2.28{col 49}{space 3}0.023{col 57}{space 4}-1.016759{col 70}{space 3}-.0769551
{txt}rebextpartdummy {c |}{col 17}{res}{space 2}-.4934369{col 29}{space 2} .1774804{col 40}{space 1}   -2.78{col 49}{space 3}0.005{col 57}{space 4}-.8412922{col 70}{space 3}-.1455817
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.03640{col 37}     0.49{col 50}    1{col 64}0.4827
{txt}      territory{col 19}{c |}{res}{col 25} 0.01290{col 37}     0.06{col 50}    1{col 64}0.8027
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.02502{col 37}     0.13{col 50}    1{col 64}0.7210
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.07318{col 37}     1.76{col 50}    1{col 64}0.1841
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.04399{col 37}     0.65{col 50}    1{col 64}0.4192
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.04768{col 37}     0.69{col 50}    1{col 64}0.4078
{txt}      secsup_gov~v{col 19}{c |}{res}{col 25}-0.00627{col 37}     0.01{col 50}    1{col 64}0.9078
{txt}      rebextpart~y{col 19}{c |}{res}{col 25} 0.04496{col 37}     0.61{col 50}    1{col 64}0.4356
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     5.84{col 50}    8{col 64}0.6653
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *Model 2 and 3*
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A9
. ************************************************
. 
. *gdp, population and anocracy*
. 
. *Model 1*
. stcox islamist $X1 lngdppcstart lnpopstart, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         291             {txt}Number of obs    =  {res}     1,403
{txt}No. of failures      = {res}         400
{txt}Time at risk         = {res} 1749.087158
                                                {txt}Wald chi2({res}8{txt})     =  {res}     31.20
{txt}Log pseudolikelihood =   {res}-1656.6848             {txt}Prob > chi2      =  {res}    0.0001

{txt}{ralign 79:(Std. Err. adjusted for {res:291} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .7043364{col 27}{space 2} .0990732{col 38}{space 1}   -2.49{col 47}{space 3}0.013{col 55}{space 4} .5346242{col 68}{space 3} .9279224
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .9693489{col 27}{space 2} .1147774{col 38}{space 1}   -0.26{col 47}{space 3}0.793{col 55}{space 4} .7685854{col 68}{space 3} 1.222554
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.013958{col 27}{space 2} .1422254{col 38}{space 1}    0.10{col 47}{space 3}0.921{col 55}{space 4} .7702365{col 68}{space 3}   1.3348
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.018142{col 27}{space 2} .0055702{col 38}{space 1}    3.29{col 47}{space 3}0.001{col 55}{space 4} 1.007283{col 68}{space 3} 1.029118
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.004104{col 27}{space 2} .0126456{col 38}{space 1}    0.33{col 47}{space 3}0.745{col 55}{space 4} .9796229{col 68}{space 3} 1.029198
{txt}muslimajstart {c |}{col 15}{res}{space 2} .9240272{col 27}{space 2} .1021228{col 38}{space 1}   -0.71{col 47}{space 3}0.475{col 55}{space 4} .7440646{col 68}{space 3} 1.147516
{txt}{space 1}lngdppcstart {c |}{col 15}{res}{space 2} .9219212{col 27}{space 2} .0406809{col 38}{space 1}   -1.84{col 47}{space 3}0.065{col 55}{space 4} .8455387{col 68}{space 3} 1.005204
{txt}{space 3}lnpopstart {c |}{col 15}{res}{space 2}  .847676{col 27}{space 2} .0316167{col 38}{space 1}   -4.43{col 47}{space 3}0.000{col 55}{space 4} .7879193{col 68}{space 3} .9119648
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A9.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.704}}
{center:{txt}{lalign 24:}{res}{center 32:(0.099)*}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.969}}
{center:{txt}{lalign 24:}{res}{center 32:(0.115)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.014}}
{center:{txt}{lalign 24:}{res}{center 32:(0.142)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.018}}
{center:{txt}{lalign 24:}{res}{center 32:(0.006)**}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.004}}
{center:{txt}{lalign 24:}{res}{center 32:(0.013)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:0.924}}
{center:{txt}{lalign 24:}{res}{center 32:(0.102)}}
{center:{txt}{lalign 24:GDP per capita}{res}{center 32:0.922}}
{center:{txt}{lalign 24:}{res}{center 32:(0.041)+}}
{center:{txt}{lalign 24:Population}{res}{center 32:0.848}}
{center:{txt}{lalign 24:}{res}{center 32:(0.032)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,403}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 lngdppcstart lnpopstart, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1667.7502
{txt}Iteration 1:   log pseudolikelihood = {res}-1656.7414
{txt}Iteration 2:   log pseudolikelihood = {res}-1656.6848
{txt}Iteration 3:   log pseudolikelihood = {res}-1656.6848
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1656.6848

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         291             {txt}Number of obs    =  {res}     1,403
{txt}No. of failures      = {res}         400
{txt}Time at risk         = {res} 1749.087158
                                                {txt}Wald chi2({res}8{txt})     =  {res}     31.20
{txt}Log pseudolikelihood =   {res}-1656.6848             {txt}Prob > chi2      =  {res}    0.0001

{txt}{ralign 79:(Std. Err. adjusted for {res:291} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2}-.3504992{col 27}{space 2} .1406618{col 38}{space 1}   -2.49{col 47}{space 3}0.013{col 55}{space 4}-.6261913{col 68}{space 3}-.0748072
{txt}{space 4}territory {c |}{col 15}{res}{space 2}-.0311307{col 27}{space 2} .1184067{col 38}{space 1}   -0.26{col 47}{space 3}0.793{col 55}{space 4}-.2632036{col 68}{space 3} .2009423
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .0138618{col 27}{space 2} .1402676{col 38}{space 1}    0.10{col 47}{space 3}0.921{col 55}{space 4}-.2610576{col 68}{space 3} .2887811
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0179797{col 27}{space 2} .0054709{col 38}{space 1}    3.29{col 47}{space 3}0.001{col 55}{space 4} .0072568{col 68}{space 3} .0287025
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0040961{col 27}{space 2} .0125939{col 38}{space 1}    0.33{col 47}{space 3}0.745{col 55}{space 4}-.0205875{col 68}{space 3} .0287797
{txt}muslimajstart {c |}{col 15}{res}{space 2}-.0790137{col 27}{space 2} .1105192{col 38}{space 1}   -0.71{col 47}{space 3}0.475{col 55}{space 4}-.2956275{col 68}{space 3}    .1376
{txt}{space 1}lngdppcstart {c |}{col 15}{res}{space 2}-.0812955{col 27}{space 2} .0441263{col 38}{space 1}   -1.84{col 47}{space 3}0.065{col 55}{space 4}-.1677814{col 68}{space 3} .0051904
{txt}{space 3}lnpopstart {c |}{col 15}{res}{space 2}-.1652568{col 27}{space 2} .0372981{col 38}{space 1}   -4.43{col 47}{space 3}0.000{col 55}{space 4}-.2383596{col 68}{space 3}-.0921539
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.04561{col 37}     0.85{col 50}    1{col 64}0.3578
{txt}      territory{col 19}{c |}{res}{col 25}-0.06842{col 37}     1.54{col 50}    1{col 64}0.2145
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.03602{col 37}     0.36{col 50}    1{col 64}0.5497
{txt}      oilstart{col 19}{c |}{res}{col 25} 0.00177{col 37}     0.00{col 50}    1{col 64}0.9781
{txt}      youthstartap{col 19}{c |}{res}{col 25}-0.01175{col 37}     0.03{col 50}    1{col 64}0.8520
{txt}      muslimajst~t{col 19}{c |}{res}{col 25}-0.01183{col 37}     0.05{col 50}    1{col 64}0.8177
{txt}      lngdppcstart{col 19}{c |}{res}{col 25}-0.04917{col 37}     0.67{col 50}    1{col 64}0.4142
{txt}      lnpopstart{col 19}{c |}{res}{col 25}-0.02868{col 37}     0.21{col 50}    1{col 64}0.6478
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     4.67{col 50}    8{col 64}0.7918
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *Model 2*
. stcox islamist $X1 anostart, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         294             {txt}Number of obs    =  {res}     1,543
{txt}No. of failures      = {res}         411
{txt}Time at risk         = {res} 1926.057129
                                                {txt}Wald chi2({res}7{txt})     =  {res}     11.06
{txt}Log pseudolikelihood =   {res}-1711.7282             {txt}Prob > chi2      =  {res}    0.1360

{txt}{ralign 79:(Std. Err. adjusted for {res:294} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .7193474{col 27}{space 2} .1105378{col 38}{space 1}   -2.14{col 47}{space 3}0.032{col 55}{space 4} .5322794{col 68}{space 3} .9721598
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .9671156{col 27}{space 2} .1095123{col 38}{space 1}   -0.30{col 47}{space 3}0.768{col 55}{space 4} .7746253{col 68}{space 3} 1.207439
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.095657{col 27}{space 2} .1463301{col 38}{space 1}    0.68{col 47}{space 3}0.494{col 55}{space 4} .8433203{col 68}{space 3} 1.423497
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2}  1.00432{col 27}{space 2} .0042903{col 38}{space 1}    1.01{col 47}{space 3}0.313{col 55}{space 4} .9959459{col 68}{space 3} 1.012764
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2}  1.01343{col 27}{space 2} .0116451{col 38}{space 1}    1.16{col 47}{space 3}0.246{col 55}{space 4} .9908615{col 68}{space 3} 1.036513
{txt}muslimajstart {c |}{col 15}{res}{space 2} 1.078984{col 27}{space 2} .1080494{col 38}{space 1}    0.76{col 47}{space 3}0.448{col 55}{space 4} .8866982{col 68}{space 3} 1.312969
{txt}{space 5}anostart {c |}{col 15}{res}{space 2} 1.144927{col 27}{space 2}  .095253{col 38}{space 1}    1.63{col 47}{space 3}0.104{col 55}{space 4} .9726607{col 68}{space 3} 1.347702
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A9.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) merge
{res}
{txt}{center:{hline 90}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 90}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.704}{res}{center 32:0.719}}
{center:{txt}{lalign 24:}{res}{center 32:(0.099)*}{res}{center 32:(0.111)*}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.969}{res}{center 32:0.967}}
{center:{txt}{lalign 24:}{res}{center 32:(0.115)}{res}{center 32:(0.110)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.014}{res}{center 32:1.096}}
{center:{txt}{lalign 24:}{res}{center 32:(0.142)}{res}{center 32:(0.146)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.018}{res}{center 32:1.004}}
{center:{txt}{lalign 24:}{res}{center 32:(0.006)**}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.004}{res}{center 32:1.013}}
{center:{txt}{lalign 24:}{res}{center 32:(0.013)}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:0.924}{res}{center 32:1.079}}
{center:{txt}{lalign 24:}{res}{center 32:(0.102)}{res}{center 32:(0.108)}}
{center:{txt}{lalign 24:GDP per capita}{res}{center 32:0.922}{res}{center 32:}}
{center:{txt}{lalign 24:}{res}{center 32:(0.041)+}{res}{center 32:}}
{center:{txt}{lalign 24:Population}{res}{center 32:0.848}{res}{center 32:}}
{center:{txt}{lalign 24:}{res}{center 32:(0.032)**}{res}{center 32:}}
{center:{txt}{lalign 24:Anocracy}{res}{center 32:}{res}{center 32:1.145}}
{center:{txt}{lalign 24:}{res}{center 32:}{res}{center 32:(0.095)}}
{center:{txt}{lalign 24:N}{res}{center 32:1,403}{res}{center 32:1,543}}
{txt}{center:{hline 90}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 anostart, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1715.8855
{txt}Iteration 1:   log pseudolikelihood = {res}-1711.7518
{txt}Iteration 2:   log pseudolikelihood = {res}-1711.7282
{txt}Iteration 3:   log pseudolikelihood = {res}-1711.7282
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1711.7282

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         294             {txt}Number of obs    =  {res}     1,543
{txt}No. of failures      = {res}         411
{txt}Time at risk         = {res} 1926.057129
                                                {txt}Wald chi2({res}7{txt})     =  {res}     11.06
{txt}Log pseudolikelihood =   {res}-1711.7282             {txt}Prob > chi2      =  {res}    0.1360

{txt}{ralign 79:(Std. Err. adjusted for {res:294} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2}-.3294109{col 27}{space 2}  .153664{col 38}{space 1}   -2.14{col 47}{space 3}0.032{col 55}{space 4}-.6305868{col 68}{space 3}-.0282351
{txt}{space 4}territory {c |}{col 15}{res}{space 2}-.0334373{col 27}{space 2}  .113236{col 38}{space 1}   -0.30{col 47}{space 3}0.768{col 55}{space 4}-.2553758{col 68}{space 3} .1885013
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2}  .091354{col 27}{space 2} .1335547{col 38}{space 1}    0.68{col 47}{space 3}0.494{col 55}{space 4}-.1704084{col 68}{space 3} .3531165
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0043102{col 27}{space 2} .0042718{col 38}{space 1}    1.01{col 47}{space 3}0.313{col 55}{space 4}-.0040624{col 68}{space 3} .0126829
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2}  .013341{col 27}{space 2} .0114908{col 38}{space 1}    1.16{col 47}{space 3}0.246{col 55}{space 4}-.0091805{col 68}{space 3} .0358626
{txt}muslimajstart {c |}{col 15}{res}{space 2} .0760201{col 27}{space 2} .1001399{col 38}{space 1}    0.76{col 47}{space 3}0.448{col 55}{space 4}-.1202506{col 68}{space 3} .2722908
{txt}{space 5}anostart {c |}{col 15}{res}{space 2} .1353407{col 27}{space 2} .0831957{col 38}{space 1}    1.63{col 47}{space 3}0.104{col 55}{space 4}-.0277199{col 68}{space 3} .2984013
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.02263{col 37}     0.21{col 50}    1{col 64}0.6448
{txt}      territory{col 19}{c |}{res}{col 25} 0.00224{col 37}     0.00{col 50}    1{col 64}0.9673
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04340{col 37}     0.46{col 50}    1{col 64}0.4965
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.01874{col 37}     0.08{col 50}    1{col 64}0.7707
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.03618{col 37}     0.38{col 50}    1{col 64}0.5368
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.01661{col 37}     0.09{col 50}    1{col 64}0.7580
{txt}      anostart{col 19}{c |}{res}{col 25} 0.08800{col 37}     2.00{col 50}    1{col 64}0.1578
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     3.50{col 50}    7{col 64}0.8356
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *Model 3*
. stcox islamist $X1 lngdppc lnpop, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     31.07
{txt}Log pseudolikelihood =   {res}-1808.1074             {txt}Prob > chi2      =  {res}    0.0001

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .7460883{col 27}{space 2}  .097917{col 38}{space 1}   -2.23{col 47}{space 3}0.026{col 55}{space 4} .5768703{col 68}{space 3} .9649445
{txt}{space 4}territory {c |}{col 15}{res}{space 2} 1.044764{col 27}{space 2} .1167008{col 38}{space 1}    0.39{col 47}{space 3}0.695{col 55}{space 4} .8393407{col 68}{space 3} 1.300462
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.053433{col 27}{space 2} .1391258{col 38}{space 1}    0.39{col 47}{space 3}0.693{col 55}{space 4} .8131857{col 68}{space 3}  1.36466
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.017042{col 27}{space 2}  .005358{col 38}{space 1}    3.21{col 47}{space 3}0.001{col 55}{space 4} 1.006595{col 68}{space 3} 1.027598
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.017599{col 27}{space 2} .0130252{col 38}{space 1}    1.36{col 47}{space 3}0.173{col 55}{space 4}  .992388{col 68}{space 3} 1.043451
{txt}muslimajstart {c |}{col 15}{res}{space 2} 1.012305{col 27}{space 2} .1005842{col 38}{space 1}    0.12{col 47}{space 3}0.902{col 55}{space 4}  .833172{col 68}{space 3} 1.229952
{txt}{space 6}lngdppc {c |}{col 15}{res}{space 2} .9278575{col 27}{space 2} .0389428{col 38}{space 1}   -1.78{col 47}{space 3}0.074{col 55}{space 4}  .854586{col 68}{space 3} 1.007411
{txt}{space 8}lnpop {c |}{col 15}{res}{space 2} .8497366{col 27}{space 2} .0326201{col 38}{space 1}   -4.24{col 47}{space 3}0.000{col 55}{space 4} .7881484{col 68}{space 3} .9161375
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A9.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) merge
{res}
{txt}{center:{hline 92}}
{center:{txt}{lalign 26:}{txt}{center 32:analysis time when record ends}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 92}}
{center:{txt}{lalign 26:Islamist claim}{res}{center 32:0.704}{res}{center 32:0.719}}
{center:{txt}{lalign 26:}{res}{center 32:(0.099)*}{res}{center 32:(0.111)*}}
{center:{txt}{lalign 26:Territory}{res}{center 32:0.969}{res}{center 32:0.967}}
{center:{txt}{lalign 26:}{res}{center 32:(0.115)}{res}{center 32:(0.110)}}
{center:{txt}{lalign 26:Strong rebels}{res}{center 32:1.014}{res}{center 32:1.096}}
{center:{txt}{lalign 26:}{res}{center 32:(0.142)}{res}{center 32:(0.146)}}
{center:{txt}{lalign 26:Oil}{res}{center 32:1.018}{res}{center 32:1.004}}
{center:{txt}{lalign 26:}{res}{center 32:(0.006)**}{res}{center 32:(0.004)}}
{center:{txt}{lalign 26:Youth bulge/adult pop.}{res}{center 32:1.004}{res}{center 32:1.013}}
{center:{txt}{lalign 26:}{res}{center 32:(0.013)}{res}{center 32:(0.012)}}
{center:{txt}{lalign 26:Muslim majority}{res}{center 32:0.924}{res}{center 32:1.079}}
{center:{txt}{lalign 26:}{res}{center 32:(0.102)}{res}{center 32:(0.108)}}
{center:{txt}{lalign 26:GDP per capita}{res}{center 32:0.922}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:(0.041)+}{res}{center 32:}}
{center:{txt}{lalign 26:Population}{res}{center 32:0.848}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:(0.032)**}{res}{center 32:}}
{center:{txt}{lalign 26:Anocracy}{res}{center 32:}{res}{center 32:1.145}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:(0.095)}}
{center:{txt}{lalign 26:GDP per capita over time}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:Population over time}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:N}{res}{center 32:1,403}{res}{center 32:1,543}}
{txt}{center:{hline 92}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{txt}{center:{hline 60}}
{center:{txt}{lalign 26:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 60}}
{center:{txt}{lalign 26:Islamist claim}{res}{center 32:0.746}}
{center:{txt}{lalign 26:}{res}{center 32:(0.098)*}}
{center:{txt}{lalign 26:Territory}{res}{center 32:1.045}}
{center:{txt}{lalign 26:}{res}{center 32:(0.117)}}
{center:{txt}{lalign 26:Strong rebels}{res}{center 32:1.053}}
{center:{txt}{lalign 26:}{res}{center 32:(0.139)}}
{center:{txt}{lalign 26:Oil}{res}{center 32:1.017}}
{center:{txt}{lalign 26:}{res}{center 32:(0.005)**}}
{center:{txt}{lalign 26:Youth bulge/adult pop.}{res}{center 32:1.018}}
{center:{txt}{lalign 26:}{res}{center 32:(0.013)}}
{center:{txt}{lalign 26:Muslim majority}{res}{center 32:1.012}}
{center:{txt}{lalign 26:}{res}{center 32:(0.101)}}
{center:{txt}{lalign 26:GDP per capita}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}}
{center:{txt}{lalign 26:Population}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}}
{center:{txt}{lalign 26:Anocracy}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}}
{center:{txt}{lalign 26:GDP per capita over time}{res}{center 32:0.928}}
{center:{txt}{lalign 26:}{res}{center 32:(0.039)+}}
{center:{txt}{lalign 26:Population over time}{res}{center 32:0.850}}
{center:{txt}{lalign 26:}{res}{center 32:(0.033)**}}
{center:{txt}{lalign 26:N}{res}{center 32:1,657}}
{txt}{center:{hline 60}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 lngdppc lnpop, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1808.1629
{txt}Iteration 2:   log pseudolikelihood = {res}-1808.1074
{txt}Iteration 3:   log pseudolikelihood = {res}-1808.1074
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1808.1074

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     31.07
{txt}Log pseudolikelihood =   {res}-1808.1074             {txt}Prob > chi2      =  {res}    0.0001

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2}-.2929113{col 27}{space 2} .1312405{col 38}{space 1}   -2.23{col 47}{space 3}0.026{col 55}{space 4}-.5501379{col 68}{space 3}-.0356847
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .0437907{col 27}{space 2} .1117007{col 38}{space 1}    0.39{col 47}{space 3}0.695{col 55}{space 4}-.1751386{col 68}{space 3}   .26272
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .0520546{col 27}{space 2}  .132069{col 38}{space 1}    0.39{col 47}{space 3}0.693{col 55}{space 4}-.2067958{col 68}{space 3}  .310905
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0168986{col 27}{space 2} .0052682{col 38}{space 1}    3.21{col 47}{space 3}0.001{col 55}{space 4} .0065731{col 68}{space 3}  .027224
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0174463{col 27}{space 2}    .0128{col 38}{space 1}    1.36{col 47}{space 3}0.173{col 55}{space 4}-.0076411{col 68}{space 3} .0425338
{txt}muslimajstart {c |}{col 15}{res}{space 2} .0122298{col 27}{space 2} .0993615{col 38}{space 1}    0.12{col 47}{space 3}0.902{col 55}{space 4}-.1825152{col 68}{space 3} .2069748
{txt}{space 6}lngdppc {c |}{col 15}{res}{space 2}-.0748771{col 27}{space 2} .0419706{col 38}{space 1}   -1.78{col 47}{space 3}0.074{col 55}{space 4}-.1571381{col 68}{space 3} .0073838
{txt}{space 8}lnpop {c |}{col 15}{res}{space 2}-.1628288{col 27}{space 2} .0383885{col 38}{space 1}   -4.24{col 47}{space 3}0.000{col 55}{space 4}-.2380689{col 68}{space 3}-.0875888
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.04774{col 37}     0.92{col 50}    1{col 64}0.3369
{txt}      territory{col 19}{c |}{res}{col 25}-0.01117{col 37}     0.04{col 50}    1{col 64}0.8374
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.03494{col 37}     0.32{col 50}    1{col 64}0.5731
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.03916{col 37}     0.41{col 50}    1{col 64}0.5226
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.04637{col 37}     0.70{col 50}    1{col 64}0.4018
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.01536{col 37}     0.09{col 50}    1{col 64}0.7699
{txt}      lngdppc{col 19}{c |}{res}{col 25}-0.00639{col 37}     0.01{col 50}    1{col 64}0.9039
{txt}      lnpop{col 19}{c |}{res}{col 25}-0.00691{col 37}     0.02{col 50}    1{col 64}0.9011
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     4.64{col 50}    8{col 64}0.7957
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *Model 4*
. stcox islamist $X1 anocracy, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         301             {txt}Number of obs    =  {res}     1,573
{txt}No. of failures      = {res}         423
{txt}Time at risk         = {res} 1975.057129
                                                {txt}Wald chi2({res}7{txt})     =  {res}     12.10
{txt}Log pseudolikelihood =   {res}-1750.6898             {txt}Prob > chi2      =  {res}    0.0973

{txt}{ralign 79:(Std. Err. adjusted for {res:301} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .7340062{col 27}{space 2} .1054675{col 38}{space 1}   -2.15{col 47}{space 3}0.031{col 55}{space 4} .5538508{col 68}{space 3} .9727622
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .9592383{col 27}{space 2} .1106926{col 38}{space 1}   -0.36{col 47}{space 3}0.718{col 55}{space 4} .7650696{col 68}{space 3} 1.202686
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.048859{col 27}{space 2} .1435705{col 38}{space 1}    0.35{col 47}{space 3}0.727{col 55}{space 4} .8020515{col 68}{space 3} 1.371613
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.003388{col 27}{space 2} .0043046{col 38}{space 1}    0.79{col 47}{space 3}0.430{col 55}{space 4} .9949866{col 68}{space 3} 1.011861
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.012638{col 27}{space 2} .0117083{col 38}{space 1}    1.09{col 47}{space 3}0.277{col 55}{space 4} .9899485{col 68}{space 3} 1.035848
{txt}muslimajstart {c |}{col 15}{res}{space 2} 1.094233{col 27}{space 2} .1104295{col 38}{space 1}    0.89{col 47}{space 3}0.372{col 55}{space 4} .8978568{col 68}{space 3} 1.333561
{txt}{space 5}anocracy {c |}{col 15}{res}{space 2} 1.170372{col 27}{space 2} .1072381{col 38}{space 1}    1.72{col 47}{space 3}0.086{col 55}{space 4} .9779812{col 68}{space 3}  1.40061
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A9.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) merge
{res}
{txt}{center:{hline 92}}
{center:{txt}{lalign 26:}{txt}{center 32:analysis time when record ends}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 92}}
{center:{txt}{lalign 26:Islamist claim}{res}{center 32:0.704}{res}{center 32:0.719}}
{center:{txt}{lalign 26:}{res}{center 32:(0.099)*}{res}{center 32:(0.111)*}}
{center:{txt}{lalign 26:Territory}{res}{center 32:0.969}{res}{center 32:0.967}}
{center:{txt}{lalign 26:}{res}{center 32:(0.115)}{res}{center 32:(0.110)}}
{center:{txt}{lalign 26:Strong rebels}{res}{center 32:1.014}{res}{center 32:1.096}}
{center:{txt}{lalign 26:}{res}{center 32:(0.142)}{res}{center 32:(0.146)}}
{center:{txt}{lalign 26:Oil}{res}{center 32:1.018}{res}{center 32:1.004}}
{center:{txt}{lalign 26:}{res}{center 32:(0.006)**}{res}{center 32:(0.004)}}
{center:{txt}{lalign 26:Youth bulge/adult pop.}{res}{center 32:1.004}{res}{center 32:1.013}}
{center:{txt}{lalign 26:}{res}{center 32:(0.013)}{res}{center 32:(0.012)}}
{center:{txt}{lalign 26:Muslim majority}{res}{center 32:0.924}{res}{center 32:1.079}}
{center:{txt}{lalign 26:}{res}{center 32:(0.102)}{res}{center 32:(0.108)}}
{center:{txt}{lalign 26:GDP per capita}{res}{center 32:0.922}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:(0.041)+}{res}{center 32:}}
{center:{txt}{lalign 26:Population}{res}{center 32:0.848}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:(0.032)**}{res}{center 32:}}
{center:{txt}{lalign 26:Anocracy}{res}{center 32:}{res}{center 32:1.145}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:(0.095)}}
{center:{txt}{lalign 26:GDP per capita over time}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:Population over time}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:Anocracy over time}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:N}{res}{center 32:1,403}{res}{center 32:1,543}}
{txt}{center:{hline 92}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{txt}{center:{hline 92}}
{center:{txt}{lalign 26:}{txt}{center 32:analysis time when record ends}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 92}}
{center:{txt}{lalign 26:Islamist claim}{res}{center 32:0.746}{res}{center 32:0.734}}
{center:{txt}{lalign 26:}{res}{center 32:(0.098)*}{res}{center 32:(0.105)*}}
{center:{txt}{lalign 26:Territory}{res}{center 32:1.045}{res}{center 32:0.959}}
{center:{txt}{lalign 26:}{res}{center 32:(0.117)}{res}{center 32:(0.111)}}
{center:{txt}{lalign 26:Strong rebels}{res}{center 32:1.053}{res}{center 32:1.049}}
{center:{txt}{lalign 26:}{res}{center 32:(0.139)}{res}{center 32:(0.144)}}
{center:{txt}{lalign 26:Oil}{res}{center 32:1.017}{res}{center 32:1.003}}
{center:{txt}{lalign 26:}{res}{center 32:(0.005)**}{res}{center 32:(0.004)}}
{center:{txt}{lalign 26:Youth bulge/adult pop.}{res}{center 32:1.018}{res}{center 32:1.013}}
{center:{txt}{lalign 26:}{res}{center 32:(0.013)}{res}{center 32:(0.012)}}
{center:{txt}{lalign 26:Muslim majority}{res}{center 32:1.012}{res}{center 32:1.094}}
{center:{txt}{lalign 26:}{res}{center 32:(0.101)}{res}{center 32:(0.110)}}
{center:{txt}{lalign 26:GDP per capita}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:Population}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:Anocracy}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 26:GDP per capita over time}{res}{center 32:0.928}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:(0.039)+}{res}{center 32:}}
{center:{txt}{lalign 26:Population over time}{res}{center 32:0.850}{res}{center 32:}}
{center:{txt}{lalign 26:}{res}{center 32:(0.033)**}{res}{center 32:}}
{center:{txt}{lalign 26:Anocracy over time}{res}{center 32:}{res}{center 32:1.170}}
{center:{txt}{lalign 26:}{res}{center 32:}{res}{center 32:(0.107)+}}
{center:{txt}{lalign 26:N}{res}{center 32:1,657}{res}{center 32:1,573}}
{txt}{center:{hline 92}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 anocracy, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res} -1755.071
{txt}Iteration 1:   log pseudolikelihood = {res}-1750.7086
{txt}Iteration 2:   log pseudolikelihood = {res}-1750.6898
{txt}Iteration 3:   log pseudolikelihood = {res}-1750.6898
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1750.6898

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         301             {txt}Number of obs    =  {res}     1,573
{txt}No. of failures      = {res}         423
{txt}Time at risk         = {res} 1975.057129
                                                {txt}Wald chi2({res}7{txt})     =  {res}     12.10
{txt}Log pseudolikelihood =   {res}-1750.6898             {txt}Prob > chi2      =  {res}    0.0973

{txt}{ralign 79:(Std. Err. adjusted for {res:301} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2}-.3092378{col 27}{space 2} .1436874{col 38}{space 1}   -2.15{col 47}{space 3}0.031{col 55}{space 4}  -.59086{col 68}{space 3}-.0276156
{txt}{space 4}territory {c |}{col 15}{res}{space 2}-.0416157{col 27}{space 2} .1153964{col 38}{space 1}   -0.36{col 47}{space 3}0.718{col 55}{space 4}-.2677885{col 68}{space 3}  .184557
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .0477025{col 27}{space 2} .1368826{col 38}{space 1}    0.35{col 47}{space 3}0.727{col 55}{space 4}-.2205825{col 68}{space 3} .3159874
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0033824{col 27}{space 2} .0042901{col 38}{space 1}    0.79{col 47}{space 3}0.430{col 55}{space 4} -.005026{col 68}{space 3} .0117907
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0125591{col 27}{space 2} .0115622{col 38}{space 1}    1.09{col 47}{space 3}0.277{col 55}{space 4}-.0101024{col 68}{space 3} .0352206
{txt}muslimajstart {c |}{col 15}{res}{space 2} .0900539{col 27}{space 2} .1009195{col 38}{space 1}    0.89{col 47}{space 3}0.372{col 55}{space 4}-.1077447{col 68}{space 3} .2878524
{txt}{space 5}anocracy {c |}{col 15}{res}{space 2} .1573216{col 27}{space 2} .0916274{col 38}{space 1}    1.72{col 47}{space 3}0.086{col 55}{space 4}-.0222648{col 68}{space 3} .3369079
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.03148{col 37}     0.41{col 50}    1{col 64}0.5235
{txt}      territory{col 19}{c |}{res}{col 25}-0.00359{col 37}     0.00{col 50}    1{col 64}0.9449
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04479{col 37}     0.55{col 50}    1{col 64}0.4600
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.03499{col 37}     0.32{col 50}    1{col 64}0.5718
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.02890{col 37}     0.25{col 50}    1{col 64}0.6158
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.01928{col 37}     0.14{col 50}    1{col 64}0.7132
{txt}      anocracy{col 19}{c |}{res}{col 25} 0.01989{col 37}     0.13{col 50}    1{col 64}0.7191
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     2.58{col 50}    7{col 64}0.9211
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. ************************************************
. * TABLE A10 and A11
. ************************************************
. 
. *gdp, population and anocracy*
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A12
. ************************************************
. 
. *Model 1*
. stcox leftist $X1, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}     19.04
{txt}Log pseudolikelihood =   {res}-1812.5696             {txt}Prob > chi2      =  {res}    0.0041

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}leftist {c |}{col 15}{res}{space 2} .6486983{col 27}{space 2} .0726132{col 38}{space 1}   -3.87{col 47}{space 3}0.000{col 55}{space 4} .5209092{col 68}{space 3} .8078365
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .9032153{col 27}{space 2}  .102546{col 38}{space 1}   -0.90{col 47}{space 3}0.370{col 55}{space 4} .7230205{col 68}{space 3} 1.128319
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} 1.038218{col 27}{space 2}  .155681{col 38}{space 1}    0.25{col 47}{space 3}0.802{col 55}{space 4} .7738392{col 68}{space 3} 1.392921
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2}  1.00399{col 27}{space 2} .0040842{col 38}{space 1}    0.98{col 47}{space 3}0.328{col 55}{space 4} .9960171{col 68}{space 3} 1.012027
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.017102{col 27}{space 2} .0134819{col 38}{space 1}    1.28{col 47}{space 3}0.201{col 55}{space 4} .9910179{col 68}{space 3} 1.043872
{txt}muslimajstart {c |}{col 15}{res}{space 2} .9141119{col 27}{space 2} .0880932{col 38}{space 1}   -0.93{col 47}{space 3}0.351{col 55}{space 4} .7567786{col 68}{space 3} 1.104155
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A12a.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Leftist}{res}{center 32:0.649}}
{center:{txt}{lalign 24:}{res}{center 32:(0.073)**}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.903}}
{center:{txt}{lalign 24:}{res}{center 32:(0.103)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.038}}
{center:{txt}{lalign 24:}{res}{center 32:(0.156)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.004}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.017}}
{center:{txt}{lalign 24:}{res}{center 32:(0.013)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:0.914}}
{center:{txt}{lalign 24:}{res}{center 32:(0.088)}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox leftist $X1, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1812.6096
{txt}Iteration 2:   log pseudolikelihood = {res}-1812.5696
{txt}Iteration 3:   log pseudolikelihood = {res}-1812.5696
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1812.5696

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}     19.04
{txt}Log pseudolikelihood =   {res}-1812.5696             {txt}Prob > chi2      =  {res}    0.0041

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}leftist {c |}{col 15}{res}{space 2}-.4327875{col 27}{space 2} .1119367{col 38}{space 1}   -3.87{col 47}{space 3}0.000{col 55}{space 4}-.6521795{col 68}{space 3}-.2133956
{txt}{space 4}territory {c |}{col 15}{res}{space 2}-.1017943{col 27}{space 2} .1135344{col 38}{space 1}   -0.90{col 47}{space 3}0.370{col 55}{space 4}-.3243177{col 68}{space 3} .1207291
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .0375058{col 27}{space 2} .1499502{col 38}{space 1}    0.25{col 47}{space 3}0.802{col 55}{space 4}-.2563912{col 68}{space 3} .3314028
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0039822{col 27}{space 2} .0040679{col 38}{space 1}    0.98{col 47}{space 3}0.328{col 55}{space 4}-.0039908{col 68}{space 3} .0119552
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0169571{col 27}{space 2} .0132552{col 38}{space 1}    1.28{col 47}{space 3}0.201{col 55}{space 4}-.0090227{col 68}{space 3} .0429369
{txt}muslimajstart {c |}{col 15}{res}{space 2}-.0898022{col 27}{space 2} .0963703{col 38}{space 1}   -0.93{col 47}{space 3}0.351{col 55}{space 4}-.2786846{col 68}{space 3} .0990801
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      leftist{col 19}{c |}{res}{col 25} 0.03791{col 37}     0.42{col 50}    1{col 64}0.5164
{txt}      territory{col 19}{c |}{res}{col 25}-0.01613{col 37}     0.09{col 50}    1{col 64}0.7585
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04839{col 37}     0.79{col 50}    1{col 64}0.3736
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.03751{col 37}     0.35{col 50}    1{col 64}0.5529
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.03771{col 37}     0.57{col 50}    1{col 64}0.4511
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.05196{col 37}     0.93{col 50}    1{col 64}0.3357
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     4.11{col 50}    6{col 64}0.6619
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *Model 2*
. stcox muslimid $X1, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}      3.23
{txt}Log pseudolikelihood =   {res}-1817.7108             {txt}Prob > chi2      =  {res}    0.7788

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}muslimid {c |}{col 15}{res}{space 2} 1.055834{col 27}{space 2} .1463085{col 38}{space 1}    0.39{col 47}{space 3}0.695{col 55}{space 4} .8047178{col 68}{space 3} 1.385313
{txt}{space 4}territory {c |}{col 15}{res}{space 2} .9824762{col 27}{space 2} .1138337{col 38}{space 1}   -0.15{col 47}{space 3}0.879{col 55}{space 4} .7828857{col 68}{space 3} 1.232951
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2}  1.13821{col 27}{space 2} .1634452{col 38}{space 1}    0.90{col 47}{space 3}0.367{col 55}{space 4} .8589959{col 68}{space 3} 1.508181
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.002376{col 27}{space 2} .0042268{col 38}{space 1}    0.56{col 47}{space 3}0.574{col 55}{space 4} .9941253{col 68}{space 3} 1.010694
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2}  1.01729{col 27}{space 2} .0130359{col 38}{space 1}    1.34{col 47}{space 3}0.181{col 55}{space 4}  .992058{col 68}{space 3} 1.043163
{txt}muslimajstart {c |}{col 15}{res}{space 2} .9485392{col 27}{space 2} .1429473{col 38}{space 1}   -0.35{col 47}{space 3}0.726{col 55}{space 4} .7059551{col 68}{space 3} 1.274482
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A12a.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) merge
{res}
{txt}{center:{hline 90}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 90}}
{center:{txt}{lalign 24:Leftist}{res}{center 32:0.649}{res}{center 32:}}
{center:{txt}{lalign 24:}{res}{center 32:(0.073)**}{res}{center 32:}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.903}{res}{center 32:0.982}}
{center:{txt}{lalign 24:}{res}{center 32:(0.103)}{res}{center 32:(0.114)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.038}{res}{center 32:1.138}}
{center:{txt}{lalign 24:}{res}{center 32:(0.156)}{res}{center 32:(0.163)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.004}{res}{center 32:1.002}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.017}{res}{center 32:1.017}}
{center:{txt}{lalign 24:}{res}{center 32:(0.013)}{res}{center 32:(0.013)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:0.914}{res}{center 32:0.949}}
{center:{txt}{lalign 24:}{res}{center 32:(0.088)}{res}{center 32:(0.143)}}
{center:{txt}{lalign 24:Muslim identity}{res}{center 32:}{res}{center 32:1.056}}
{center:{txt}{lalign 24:}{res}{center 32:}{res}{center 32:(0.146)}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}{res}{center 32:1,657}}
{txt}{center:{hline 90}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox muslimid $X1, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1817.7135
{txt}Iteration 2:   log pseudolikelihood = {res}-1817.7108
{txt}Iteration 3:   log pseudolikelihood = {res}-1817.7108
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1817.7108

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}      3.23
{txt}Log pseudolikelihood =   {res}-1817.7108             {txt}Prob > chi2      =  {res}    0.7788

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}muslimid {c |}{col 15}{res}{space 2} .0543314{col 27}{space 2} .1385714{col 38}{space 1}    0.39{col 47}{space 3}0.695{col 55}{space 4}-.2172636{col 68}{space 3} .3259264
{txt}{space 4}territory {c |}{col 15}{res}{space 2}-.0176792{col 27}{space 2} .1158641{col 38}{space 1}   -0.15{col 47}{space 3}0.879{col 55}{space 4}-.2447685{col 68}{space 3} .2094102
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .1294566{col 27}{space 2} .1435985{col 38}{space 1}    0.90{col 47}{space 3}0.367{col 55}{space 4}-.1519912{col 68}{space 3} .4109044
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0023727{col 27}{space 2} .0042168{col 38}{space 1}    0.56{col 47}{space 3}0.574{col 55}{space 4} -.005892{col 68}{space 3} .0106375
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0171419{col 27}{space 2} .0128143{col 38}{space 1}    1.34{col 47}{space 3}0.181{col 55}{space 4}-.0079737{col 68}{space 3} .0422574
{txt}muslimajstart {c |}{col 15}{res}{space 2}-.0528321{col 27}{space 2} .1507026{col 38}{space 1}   -0.35{col 47}{space 3}0.726{col 55}{space 4}-.3482037{col 68}{space 3} .2425394
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      muslimid{col 19}{c |}{res}{col 25}-0.03401{col 37}     0.44{col 50}    1{col 64}0.5069
{txt}      territory{col 19}{c |}{res}{col 25}-0.00643{col 37}     0.02{col 50}    1{col 64}0.9022
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04331{col 37}     0.59{col 50}    1{col 64}0.4437
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.04127{col 37}     0.46{col 50}    1{col 64}0.4975
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.02173{col 37}     0.18{col 50}    1{col 64}0.6725
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.05407{col 37}     1.10{col 50}    1{col 64}0.2932
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     3.28{col 50}    6{col 64}0.7727
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. *Model 3*
. stcox nonislamistrel $X1, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}      3.86
{txt}Log pseudolikelihood =   {res}-1817.3431             {txt}Prob > chi2      =  {res}    0.6960

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |} Haz. Ratio{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
nonislamistrel {c |}{col 16}{res}{space 2} .8291591{col 28}{space 2} .1404258{col 39}{space 1}   -1.11{col 48}{space 3}0.269{col 56}{space 4} .5949481{col 69}{space 3} 1.155571
{txt}{space 5}territory {c |}{col 16}{res}{space 2} 1.000068{col 28}{space 2}  .114206{col 39}{space 1}    0.00{col 48}{space 3}1.000{col 56}{space 4} .7995102{col 69}{space 3} 1.250937
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} 1.124586{col 28}{space 2} .1629486{col 39}{space 1}    0.81{col 48}{space 3}0.418{col 56}{space 4} .8465577{col 69}{space 3} 1.493925
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} 1.001984{col 28}{space 2}  .004251{col 39}{space 1}    0.47{col 48}{space 3}0.640{col 56}{space 4} .9936871{col 69}{space 3} 1.010351
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} 1.017708{col 28}{space 2} .0128238{col 39}{space 1}    1.39{col 48}{space 3}0.164{col 56}{space 4} .9928813{col 69}{space 3} 1.043155
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} .9810711{col 28}{space 2} .0914886{col 39}{space 1}   -0.20{col 48}{space 3}0.838{col 56}{space 4} .8171893{col 69}{space 3} 1.177818
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A12a.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) merge
{res}
{txt}{center:{hline 97}}
{center:{txt}{lalign 31:}{txt}{center 32:analysis time when record ends}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 97}}
{center:{txt}{lalign 31:Leftist}{res}{center 32:0.649}{res}{center 32:}}
{center:{txt}{lalign 31:}{res}{center 32:(0.073)**}{res}{center 32:}}
{center:{txt}{lalign 31:Territory}{res}{center 32:0.903}{res}{center 32:0.982}}
{center:{txt}{lalign 31:}{res}{center 32:(0.103)}{res}{center 32:(0.114)}}
{center:{txt}{lalign 31:Strong rebels}{res}{center 32:1.038}{res}{center 32:1.138}}
{center:{txt}{lalign 31:}{res}{center 32:(0.156)}{res}{center 32:(0.163)}}
{center:{txt}{lalign 31:Oil}{res}{center 32:1.004}{res}{center 32:1.002}}
{center:{txt}{lalign 31:}{res}{center 32:(0.004)}{res}{center 32:(0.004)}}
{center:{txt}{lalign 31:Youth bulge/adult pop.}{res}{center 32:1.017}{res}{center 32:1.017}}
{center:{txt}{lalign 31:}{res}{center 32:(0.013)}{res}{center 32:(0.013)}}
{center:{txt}{lalign 31:Muslim majority}{res}{center 32:0.914}{res}{center 32:0.949}}
{center:{txt}{lalign 31:}{res}{center 32:(0.088)}{res}{center 32:(0.143)}}
{center:{txt}{lalign 31:Muslim identity}{res}{center 32:}{res}{center 32:1.056}}
{center:{txt}{lalign 31:}{res}{center 32:}{res}{center 32:(0.146)}}
{center:{txt}{lalign 31:Non-Islamist religious claims}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 31:}{res}{center 32:}{res}{center 32:}}
{center:{txt}{lalign 31:N}{res}{center 32:1,657}{res}{center 32:1,657}}
{txt}{center:{hline 97}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{txt}{center:{hline 65}}
{center:{txt}{lalign 31:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 65}}
{center:{txt}{lalign 31:Leftist}{res}{center 32:}}
{center:{txt}{lalign 31:}{res}{center 32:}}
{center:{txt}{lalign 31:Territory}{res}{center 32:1.000}}
{center:{txt}{lalign 31:}{res}{center 32:(0.114)}}
{center:{txt}{lalign 31:Strong rebels}{res}{center 32:1.125}}
{center:{txt}{lalign 31:}{res}{center 32:(0.163)}}
{center:{txt}{lalign 31:Oil}{res}{center 32:1.002}}
{center:{txt}{lalign 31:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 31:Youth bulge/adult pop.}{res}{center 32:1.018}}
{center:{txt}{lalign 31:}{res}{center 32:(0.013)}}
{center:{txt}{lalign 31:Muslim majority}{res}{center 32:0.981}}
{center:{txt}{lalign 31:}{res}{center 32:(0.091)}}
{center:{txt}{lalign 31:Muslim identity}{res}{center 32:}}
{center:{txt}{lalign 31:}{res}{center 32:}}
{center:{txt}{lalign 31:Non-Islamist religious claims}{res}{center 32:0.829}}
{center:{txt}{lalign 31:}{res}{center 32:(0.140)}}
{center:{txt}{lalign 31:N}{res}{center 32:1,657}}
{txt}{center:{hline 65}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox nonislamistrel $X1, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1817.3475
{txt}Iteration 2:   log pseudolikelihood = {res}-1817.3431
{txt}Iteration 3:   log pseudolikelihood = {res}-1817.3431
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1817.3431

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}6{txt})     =  {res}      3.86
{txt}Log pseudolikelihood =   {res}-1817.3431             {txt}Prob > chi2      =  {res}    0.6960

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
nonislamistrel {c |}{col 16}{res}{space 2}-.1873432{col 28}{space 2} .1693592{col 39}{space 1}   -1.11{col 48}{space 3}0.269{col 56}{space 4}-.5192812{col 69}{space 3} .1445948
{txt}{space 5}territory {c |}{col 16}{res}{space 2} .0000684{col 28}{space 2} .1141982{col 39}{space 1}    0.00{col 48}{space 3}1.000{col 56}{space 4} -.223756{col 69}{space 3} .2238928
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2}  .117415{col 28}{space 2} .1448965{col 39}{space 1}    0.81{col 48}{space 3}0.418{col 56}{space 4}-.1665769{col 69}{space 3} .4014069
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} .0019824{col 28}{space 2} .0042426{col 39}{space 1}    0.47{col 48}{space 3}0.640{col 56}{space 4}-.0063329{col 69}{space 3} .0102977
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} .0175528{col 28}{space 2} .0126007{col 39}{space 1}    1.39{col 48}{space 3}0.164{col 56}{space 4}-.0071442{col 69}{space 3} .0422497
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2}-.0191104{col 28}{space 2} .0932538{col 39}{space 1}   -0.20{col 48}{space 3}0.838{col 56}{space 4}-.2018845{col 69}{space 3} .1636637
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      nonislamis~l{col 19}{c |}{res}{col 25} 0.03414{col 37}     0.35{col 50}    1{col 64}0.5564
{txt}      territory{col 19}{c |}{res}{col 25}-0.01461{col 37}     0.08{col 50}    1{col 64}0.7781
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.04391{col 37}     0.61{col 50}    1{col 64}0.4346
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.03812{col 37}     0.40{col 50}    1{col 64}0.5284
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.01684{col 37}     0.10{col 50}    1{col 64}0.7493
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.04835{col 37}     0.76{col 50}    1{col 64}0.3848
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     3.12{col 50}    6{col 64}0.7934
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. *Model 4-6*
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A13
. ************************************************
. 
. //See do-file on recurrence//
. 
. 
. ************************************************
. * TABLE A14
. ************************************************
. 
. *number_group*
. 
. *Model 1*
. stcox islamist $X1 number_group, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}7{txt})     =  {res}     13.47
{txt}Log pseudolikelihood =   {res}-1814.2772             {txt}Prob > chi2      =  {res}    0.0614

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |} Haz. Ratio{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2} .7242779{col 27}{space 2} .1042512{col 38}{space 1}   -2.24{col 47}{space 3}0.025{col 55}{space 4} .5462418{col 68}{space 3} .9603411
{txt}{space 4}territory {c |}{col 15}{res}{space 2}  .946668{col 27}{space 2} .1095366{col 38}{space 1}   -0.47{col 47}{space 3}0.636{col 55}{space 4} .7545834{col 68}{space 3} 1.187649
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2}  1.10048{col 27}{space 2} .1511407{col 38}{space 1}    0.70{col 47}{space 3}0.486{col 55}{space 4} .8407704{col 68}{space 3} 1.440412
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} 1.002536{col 27}{space 2} .0043751{col 38}{space 1}    0.58{col 47}{space 3}0.562{col 55}{space 4} .9939978{col 68}{space 3} 1.011148
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} 1.015659{col 27}{space 2} .0124867{col 38}{space 1}    1.26{col 47}{space 3}0.206{col 55}{space 4} .9914784{col 68}{space 3}  1.04043
{txt}muslimajstart {c |}{col 15}{res}{space 2} 1.083678{col 27}{space 2} .1091533{col 38}{space 1}    0.80{col 47}{space 3}0.425{col 55}{space 4} .8895348{col 68}{space 3} 1.320192
{txt}{space 1}number_group {c |}{col 15}{res}{space 2} .9658317{col 27}{space 2} .0384619{col 38}{space 1}   -0.87{col 47}{space 3}0.383{col 55}{space 4} .8933145{col 68}{space 3} 1.044236
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A14a.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.724}}
{center:{txt}{lalign 24:}{res}{center 32:(0.104)*}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.947}}
{center:{txt}{lalign 24:}{res}{center 32:(0.110)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.100}}
{center:{txt}{lalign 24:}{res}{center 32:(0.151)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:1.003}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.016}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.084}}
{center:{txt}{lalign 24:}{res}{center 32:(0.109)}}
{center:{txt}{lalign 24:Number of groups}{res}{center 32:0.966}}
{center:{txt}{lalign 24:}{res}{center 32:(0.038)}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 number_group, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1814.3066
{txt}Iteration 2:   log pseudolikelihood = {res}-1814.2772
{txt}Iteration 3:   log pseudolikelihood = {res}-1814.2772
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1814.2772

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}7{txt})     =  {res}     13.47
{txt}Log pseudolikelihood =   {res}-1814.2772             {txt}Prob > chi2      =  {res}    0.0614

{txt}{ralign 79:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}           _t{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}islamist {c |}{col 15}{res}{space 2}-.3225802{col 27}{space 2} .1439381{col 38}{space 1}   -2.24{col 47}{space 3}0.025{col 55}{space 4}-.6046936{col 68}{space 3}-.0404668
{txt}{space 4}territory {c |}{col 15}{res}{space 2}-.0548068{col 27}{space 2} .1157076{col 38}{space 1}   -0.47{col 47}{space 3}0.636{col 55}{space 4}-.2815895{col 68}{space 3} .1719758
{txt}{space 2}strongstart {c |}{col 15}{res}{space 2} .0957462{col 27}{space 2} .1373407{col 38}{space 1}    0.70{col 47}{space 3}0.486{col 55}{space 4}-.1734367{col 68}{space 3} .3649291
{txt}{space 5}oilstart {c |}{col 15}{res}{space 2} .0025331{col 27}{space 2}  .004364{col 38}{space 1}    0.58{col 47}{space 3}0.562{col 55}{space 4}-.0060202{col 68}{space 3} .0110865
{txt}{space 1}youthstartap {c |}{col 15}{res}{space 2} .0155381{col 27}{space 2} .0122942{col 38}{space 1}    1.26{col 47}{space 3}0.206{col 55}{space 4}-.0085581{col 68}{space 3} .0396343
{txt}muslimajstart {c |}{col 15}{res}{space 2} .0803604{col 27}{space 2} .1007248{col 38}{space 1}    0.80{col 47}{space 3}0.425{col 55}{space 4}-.1170567{col 68}{space 3} .2777775
{txt}{space 1}number_group {c |}{col 15}{res}{space 2}-.0347656{col 27}{space 2} .0398226{col 38}{space 1}   -0.87{col 47}{space 3}0.383{col 55}{space 4}-.1128165{col 68}{space 3} .0432852
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.03480{col 37}     0.55{col 50}    1{col 64}0.4591
{txt}      territory{col 19}{c |}{res}{col 25}-0.00913{col 37}     0.03{col 50}    1{col 64}0.8595
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.03974{col 37}     0.44{col 50}    1{col 64}0.5075
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.03808{col 37}     0.41{col 50}    1{col 64}0.5200
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.03375{col 37}     0.40{col 50}    1{col 64}0.5265
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.01919{col 37}     0.14{col 50}    1{col 64}0.7089
{txt}      number_group{col 19}{c |}{res}{col 25} 0.01146{col 37}     0.04{col 50}    1{col 64}0.8411
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     3.83{col 50}    7{col 64}0.7989
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. ************************************************
. * TABLE A15
. ************************************************
. 
. *duration and intensity*
. 
. *Model 1*
. stcox islamist $X1 duration intensitylevel, cluster(dyadid) strata(order) nolog

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     29.00
{txt}Log pseudolikelihood =   {res}-1807.4522             {txt}Prob > chi2      =  {res}    0.0003

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |} Haz. Ratio{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2} .7165088{col 28}{space 2}  .097708{col 39}{space 1}   -2.44{col 48}{space 3}0.015{col 56}{space 4} .5484613{col 69}{space 3} .9360458
{txt}{space 5}territory {c |}{col 16}{res}{space 2} .9880402{col 28}{space 2} .1138969{col 39}{space 1}   -0.10{col 48}{space 3}0.917{col 56}{space 4} .7882281{col 69}{space 3} 1.238504
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} 1.146518{col 28}{space 2} .1534927{col 39}{space 1}    1.02{col 48}{space 3}0.307{col 56}{space 4} .8819102{col 69}{space 3} 1.490519
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2} .9992838{col 28}{space 2} .0042053{col 39}{space 1}   -0.17{col 48}{space 3}0.865{col 56}{space 4} .9910753{col 69}{space 3}  1.00756
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} 1.015609{col 28}{space 2} .0119132{col 39}{space 1}    1.32{col 48}{space 3}0.187{col 56}{space 4}  .992526{col 69}{space 3} 1.039229
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} 1.067331{col 28}{space 2} .1123765{col 39}{space 1}    0.62{col 48}{space 3}0.536{col 56}{space 4} .8683168{col 69}{space 3} 1.311958
{txt}{space 6}duration {c |}{col 16}{res}{space 2} .9539003{col 28}{space 2} .0176216{col 39}{space 1}   -2.55{col 48}{space 3}0.011{col 56}{space 4} .9199804{col 69}{space 3} .9890708
{txt}intensitylevel {c |}{col 16}{res}{space 2} .6105228{col 28}{space 2} .0972284{col 39}{space 1}   -3.10{col 48}{space 3}0.002{col 56}{space 4} .4468321{col 69}{space 3} .8341792
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. outreg using appendix-A15a.doc, se var hr starlevels(10 5 1) sigsymbols(+,*,**) note (Robust standard errors in parentheses clustered on dyad.) replace
{res}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:}{txt}{center 32:analysis time when record ends}}
{txt}{center:{hline 58}}
{center:{txt}{lalign 24:Islamist claim}{res}{center 32:0.717}}
{center:{txt}{lalign 24:}{res}{center 32:(0.098)*}}
{center:{txt}{lalign 24:Territory}{res}{center 32:0.988}}
{center:{txt}{lalign 24:}{res}{center 32:(0.114)}}
{center:{txt}{lalign 24:Strong rebels}{res}{center 32:1.147}}
{center:{txt}{lalign 24:}{res}{center 32:(0.153)}}
{center:{txt}{lalign 24:Oil}{res}{center 32:0.999}}
{center:{txt}{lalign 24:}{res}{center 32:(0.004)}}
{center:{txt}{lalign 24:Youth bulge/adult pop.}{res}{center 32:1.016}}
{center:{txt}{lalign 24:}{res}{center 32:(0.012)}}
{center:{txt}{lalign 24:Muslim majority}{res}{center 32:1.067}}
{center:{txt}{lalign 24:}{res}{center 32:(0.112)}}
{center:{txt}{lalign 24:Duration}{res}{center 32:0.954}}
{center:{txt}{lalign 24:}{res}{center 32:(0.018)*}}
{center:{txt}{lalign 24:War}{res}{center 32:0.611}}
{center:{txt}{lalign 24:}{res}{center 32:(0.097)**}}
{center:{txt}{lalign 24:N}{res}{center 32:1,657}}
{txt}{center:{hline 58}}
{txt}{center:+ p<0.1; * p<0.05; ** p<0.01}
{txt}{center:Robust standard errors in parentheses clustered on dyad.}


{com}. 
. capture drop sch* sca*
{txt}
{com}. stcox islamist $X1 duration intensitylevel, cluster(dyadid) strata(order) scaledsch(sca*) schoenfeld(sch*) nohr

         {txt}failure _d:  {res}term == 1
   {txt}analysis time _t:  {res}(end_of_segment-origin)
             {txt}origin:  {res}time first_year_of_con
{txt}  enter on or after:  {res}time start_of_segment
{txt}  exit on or before:  {res}time .
                 {txt}id:  {res}dyadid

{txt}Iteration 0:   log pseudolikelihood = {res}-1818.9743
{txt}Iteration 1:   log pseudolikelihood = {res}-1807.5964
{txt}Iteration 2:   log pseudolikelihood = {res}-1807.4523
{txt}Iteration 3:   log pseudolikelihood = {res}-1807.4522
{txt}Refining estimates:
Iteration 0:   log pseudolikelihood = {res}-1807.4522

{txt}Stratified Cox regr. -- Breslow method for ties

No. of subjects      = {res}         309             {txt}Number of obs    =  {res}     1,657
{txt}No. of failures      = {res}         433
{txt}Time at risk         = {res} 2060.906982
                                                {txt}Wald chi2({res}8{txt})     =  {res}     29.00
{txt}Log pseudolikelihood =   {res}-1807.4522             {txt}Prob > chi2      =  {res}    0.0003

{txt}{ralign 80:(Std. Err. adjusted for {res:309} clusters in dyadid)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}            _t{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}islamist {c |}{col 16}{res}{space 2}-.3333647{col 28}{space 2} .1363667{col 39}{space 1}   -2.44{col 48}{space 3}0.015{col 56}{space 4}-.6006386{col 69}{space 3}-.0660909
{txt}{space 5}territory {c |}{col 16}{res}{space 2}-.0120319{col 28}{space 2} .1152756{col 39}{space 1}   -0.10{col 48}{space 3}0.917{col 56}{space 4}-.2379678{col 69}{space 3} .2139041
{txt}{space 3}strongstart {c |}{col 16}{res}{space 2} .1367295{col 28}{space 2} .1338773{col 39}{space 1}    1.02{col 48}{space 3}0.307{col 56}{space 4}-.1256651{col 69}{space 3} .3991242
{txt}{space 6}oilstart {c |}{col 16}{res}{space 2}-.0007165{col 28}{space 2} .0042084{col 39}{space 1}   -0.17{col 48}{space 3}0.865{col 56}{space 4}-.0089647{col 69}{space 3} .0075317
{txt}{space 2}youthstartap {c |}{col 16}{res}{space 2} .0154886{col 28}{space 2} .0117301{col 39}{space 1}    1.32{col 48}{space 3}0.187{col 56}{space 4}-.0075021{col 69}{space 3} .0384792
{txt}{space 1}muslimajstart {c |}{col 16}{res}{space 2} .0651609{col 28}{space 2} .1052874{col 39}{space 1}    0.62{col 48}{space 3}0.536{col 56}{space 4}-.1411987{col 69}{space 3} .2715205
{txt}{space 6}duration {c |}{col 16}{res}{space 2}-.0471962{col 28}{space 2} .0184732{col 39}{space 1}   -2.55{col 48}{space 3}0.011{col 56}{space 4} -.083403{col 69}{space 3}-.0109893
{txt}intensitylevel {c |}{col 16}{res}{space 2}-.4934396{col 28}{space 2} .1592543{col 39}{space 1}   -3.10{col 48}{space 3}0.002{col 56}{space 4}-.8055723{col 69}{space 3} -.181307
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 60}Stratified by order

{com}. stphtest, rank detail

{txt}      Test of proportional-hazards assumption

      Time:  {res}Rank(t)
{txt}      {hline 12}{c TT}{hline 51}
                  {c |}       rho            chi2       df       Prob>chi2
      {hline 12}{c +}{hline 51}
      islamist{col 19}{c |}{res}{col 25} 0.05408{col 37}     1.28{col 50}    1{col 64}0.2584
{txt}      territory{col 19}{c |}{res}{col 25}-0.01123{col 37}     0.05{col 50}    1{col 64}0.8264
{txt}      strongstart{col 19}{c |}{res}{col 25}-0.03803{col 37}     0.40{col 50}    1{col 64}0.5256
{txt}      oilstart{col 19}{c |}{res}{col 25}-0.06436{col 37}     1.13{col 50}    1{col 64}0.2876
{txt}      youthstartap{col 19}{c |}{res}{col 25} 0.03994{col 37}     0.52{col 50}    1{col 64}0.4712
{txt}      muslimajst~t{col 19}{c |}{res}{col 25} 0.00331{col 37}     0.00{col 50}    1{col 64}0.9454
{txt}      duration{col 19}{c |}{res}{col 25} 0.11906{col 37}     3.67{col 50}    1{col 64}0.0555
{txt}      intensityl~l{col 19}{c |}{res}{col 25}-0.03815{col 37}     0.57{col 50}    1{col 64}0.4519
{txt}      {hline 12}{c +}{hline 51}
      global test {c |}{res}{col 37}     7.54{col 50}    8{col 64}0.4800
{txt}      {hline 12}{c BT}{hline 51}

note: robust variance-covariance matrix used.

{com}. 
. 
. ************************************************
. * TABLE A16
. ************************************************
. 
. //See do-file on recurrence//
. 
. 
. ************************************************************************************************************************************************************************************
. ************************************************************************************************************************************************************************************
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/desinils/Desirée's PCR team Dropbox/Desirée Nilsson/2012-2014/Forskningsprojekt/Jihadist Peace/Negotiation and religion/Islamist Claims & Recurrence/Submission-ISQ/Resubmission-ISQ/Intractability_final_submitted/Replication files-Intractability-ISQ/Intractability-replication-zip-files/Termination-log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}22 Jun 2021, 10:46:00
{txt}{.-}
{smcl}
{txt}{sf}{ul off}